* Add a template for localsettings.
* Set DEBUG to False (should be set to True in localsettings, if required).
--- /dev/null
+# Put any settings that are specific to this installation in here.
+# Any settings from settings.py can be overridden.
+
+# For example, enable debugging by commenting in the following line.
+#DEBUG = True
# Django settings for ee project.
-from dbsettings import *
import os
+# Import database settings from a default file (so we can keep those out
+# of git).
+from dbsettings import *
+
PROJECT_DIR = os.path.dirname(__file__)
-DEBUG = True
+DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = (
)
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: