Beginning to merge new settings file

--HG--
branch : pmitros-dormsbee-settings2
rename : settings_new_askbot.py => settings.py
This commit is contained in:
Piotr Mitros
2012-02-20 11:29:12 -05:00
parent ffba3c59a5
commit 7bd509b7ed
11 changed files with 730 additions and 491 deletions

28
settings2/dev.py Normal file
View File

@@ -0,0 +1,28 @@
"""
This config file runs the simplest dev environment using sqlite, and db-based
sessions.
"""
from common import *
CSRF_COOKIE_DOMAIN = 'localhost'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ENV_ROOT / "db" / "mitx.db",
}
}
# Make this unique, and don't share it with anybody.
SECRET_KEY = '85920908f28904ed733fe576320db18cabd7b6cd'
DEBUG = True
TEMPLATE_DEBUG = False
# This is disabling ASKBOT, but not properly overwriting INSTALLED_APPS. ???
# It's because our ASKBOT_ENABLED here is actually shadowing the real one.
#
# ASKBOT_ENABLED = True
# MITX_FEATURES['SAMPLE'] = True # Switch to this system so we get around the shadowing
#
# INSTALLED_APPS = installed_apps()