Commit 72fe3428 authored by Brian Moe's avatar Brian Moe

Changes required to mv gracedb -> graceproj

Having gracedb.gracedb was confusing and awful.
parent c1677d4b
......@@ -8,7 +8,7 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
sys.path.append('/home/lars/wsgi-sandbox/lib/python2.6')
sys.path.append('/home/lars/wsgi-sandbox/lib/python2.6/site-packages')
sys.path.append('/home/gracedb/gracedb')
sys.path.append('/home/gracedb/graceproj')
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
......
......@@ -10,7 +10,7 @@ matplotlib.use("Agg")
import matplotlib.pyplot as pyplot
import numpy
from gracedb.gracedb.models import Event
from gracedb.models import Event
import os
from datetime import datetime, timedelta
......
......@@ -2,8 +2,8 @@
from django.core.management.base import BaseCommand, NoArgsCommand
from django.conf import settings
from gracedb.gracedb.models import Event
from gracedb.gracedb.query import parseQuery
from gracedb.models import Event
from gracedb.query import parseQuery
import os
......
......@@ -24,13 +24,13 @@ configs = {
'/home/bmoe/gracedb/gracedb': 'development',
'/home/gracedb/gracedb': 'production',
'/home/gracedb/graceproj': 'production',
}
from default import *
config = configs.get(ROOT_PATH, "NO_CONFIG")
print "FUCKYOU", ROOT_PATH
config = configs.get(ROOT_PATH, "production")
settings_module = __import__('%s' % config, globals(), locals(), 'gracedb')
......
......@@ -170,7 +170,7 @@ TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
"/home/gracedb/gracedb/templates",
"/home/gracedb/graceproj/templates",
)
INSTALLED_APPS = (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment