# Django settings for ee project.
+import os
+
+# Import database settings from a default file (so we can keep those out
+# of git).
from dbsettings import *
-DEBUG = True
+PROJECT_DIR = os.path.dirname(__file__)
+
+DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# 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/matthijs/docs/src/django/ee/templates',
+ os.path.join(PROJECT_DIR, 'templates'),
)
INSTALLED_APPS = (
)
AUTH_PROFILE_MODULE = 'base.UserProfile'
+
+# Import local settings, that are specific to this installation. These
+# can override any settings specified here.
+try:
+ from localsettings import *
+except ImportError:
+ pass
+
+# vim: set sts=4 sw=4 expandtab: