summaryrefslogtreecommitdiff
path: root/aloha/production.py
diff options
context:
space:
mode:
Diffstat (limited to 'aloha/production.py')
-rw-r--r--aloha/production.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/aloha/production.py b/aloha/production.py
index 68f1306..b101d12 100644
--- a/aloha/production.py
+++ b/aloha/production.py
@@ -3,11 +3,13 @@ from aloha.settings import *
DEBUG=False
TEMPLATE_DEBUG=DEBUG
-
-DATABASES["default"]["ENGINE"] = 'django.db.backends.mysql'
-DATABASES["default"]["NAME"] = ''
-DATABASES["default"]["USER"] = ''
-
-from aloha.local import DATABASE_PASSWORD
-# Imports DATABASE_PASSWORD from testapp/local.py that is not part of git repo
-DATABASES["default"]["PASSWORD"] = DATABASE_PASSWORD
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
+ 'NAME': 'jamallotment', # Or path to database file if using sqlite3.
+ 'USER': 'jam_user', # Not used with sqlite3.
+ 'PASSWORD': 'Jam@2012Fossee', # 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.
+ }
+}