diff options
author | Parth Buch | 2012-07-19 22:58:18 +0530 |
---|---|---|
committer | Parth Buch | 2012-07-19 22:58:18 +0530 |
commit | c77a1b78988fd3e8e92b52110ca14eb33f530e14 (patch) | |
tree | fc047e12e14e99eb7d16465a4ddd842b4f613255 /stapp/production.py | |
parent | be07f320f872c9be90d9fbc53aba8fadadc35396 (diff) | |
download | stproject-c77a1b78988fd3e8e92b52110ca14eb33f530e14.tar.gz stproject-c77a1b78988fd3e8e92b52110ca14eb33f530e14.tar.bz2 stproject-c77a1b78988fd3e8e92b52110ca14eb33f530e14.zip |
Added production.cfg file with postgresql settings and changed the setting files accordingly
Diffstat (limited to 'stapp/production.py')
-rw-r--r-- | stapp/production.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/stapp/production.py b/stapp/production.py index 238f678..f902bd6 100644 --- a/stapp/production.py +++ b/stapp/production.py @@ -1,2 +1,15 @@ - from stapp.settings import * +DEBUG=False +TEMPLATE_DEBUG=DEBUG$ + + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. + 'NAME': 'stapp', # Or path to database file if using sqlite3. + 'USER': 'stapp', # Not used with sqlite3. + 'PASSWORD': 'pp@ssw0rd', # 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. + } +} |