summaryrefslogtreecommitdiffstats
path: root/askbot/setup_templates
diff options
context:
space:
mode:
authorAdolfo Fitoria <adolfo.fitoria@gmail.com>2011-12-23 10:07:03 -0300
committerAdolfo Fitoria <adolfo.fitoria@gmail.com>2011-12-23 10:07:03 -0300
commita303250bfd22f80c90a3bcc7f5ceb8b06e8bdbb1 (patch)
treeb4f922137c5e384406fbcfe138869afef7e03544 /askbot/setup_templates
parent8644c5a97f9287920b7dea710446c761b267f712 (diff)
downloadaskbot-a303250bfd22f80c90a3bcc7f5ceb8b06e8bdbb1.tar.gz
askbot-a303250bfd22f80c90a3bcc7f5ceb8b06e8bdbb1.tar.bz2
askbot-a303250bfd22f80c90a3bcc7f5ceb8b06e8bdbb1.zip
initial django 1.4 support
Diffstat (limited to 'askbot/setup_templates')
-rw-r--r--askbot/setup_templates/settings.py.mustache16
1 files changed, 10 insertions, 6 deletions
diff --git a/askbot/setup_templates/settings.py.mustache b/askbot/setup_templates/settings.py.mustache
index 79b98814..7a9f2a19 100644
--- a/askbot/setup_templates/settings.py.mustache
+++ b/askbot/setup_templates/settings.py.mustache
@@ -17,12 +17,16 @@ ADMINS = (
MANAGERS = ADMINS
-DATABASE_ENGINE = 'postgresql_psycopg2' # only postgres (>8.3) and mysql are supported so far others have not been tested yet
-DATABASE_NAME = '{{database_name}}' # Or path to database file if using sqlite3.
-DATABASE_USER = '{{database_user}}' # Not used with sqlite3.
-DATABASE_PASSWORD = '{{database_password}}' # Not used with sqlite3.
-DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
-DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+ 'NAME': '{{database_name}}', # Or path to database file if using sqlite3.
+ 'USER': '{{database_user}}', # Not used with sqlite3.
+ 'PASSWORD': '{{database_password}}', # Not used with sqlite3.
+ 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
+ 'PORT': '', # Set to empty string for default. Not used with sqlite3.
+ }
+}
#outgoing mail server settings
SERVER_EMAIL = ''