summaryrefslogtreecommitdiff
path: root/stapp/production.py
diff options
context:
space:
mode:
authorParth Buch2012-07-19 23:07:49 +0530
committerParth Buch2012-07-19 23:07:49 +0530
commit6325dbee99165b956dd5a3e5034c0b627e318f5c (patch)
tree77f0cee153ee4b3251d73674c327396a26617320 /stapp/production.py
parenta719268de320fe2aabcbc03d981a1c4cc562f0db (diff)
downloadstproject-6325dbee99165b956dd5a3e5034c0b627e318f5c.tar.gz
stproject-6325dbee99165b956dd5a3e5034c0b627e318f5c.tar.bz2
stproject-6325dbee99165b956dd5a3e5034c0b627e318f5c.zip
Removed database settings from production file, now required to provide a local.py file with db settings
Diffstat (limited to 'stapp/production.py')
-rw-r--r--stapp/production.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/stapp/production.py b/stapp/production.py
index 51c054c..2e6b825 100644
--- a/stapp/production.py
+++ b/stapp/production.py
@@ -1,15 +1,4 @@
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.
- }
-}
+from stapp.local import *