summaryrefslogtreecommitdiff
path: root/testapp
diff options
context:
space:
mode:
authorParth Buch2012-07-20 16:13:10 +0530
committerParth Buch2012-07-20 16:13:10 +0530
commit88963ad2a4991260ea106d18bea55ad019446b4c (patch)
tree80fca0268e67336b7c4be10f9a5b0eb12675af35 /testapp
parentb9c884f370d08654c418b7cbd010f3c61870b193 (diff)
downloadonline_test-88963ad2a4991260ea106d18bea55ad019446b4c.tar.gz
online_test-88963ad2a4991260ea106d18bea55ad019446b4c.tar.bz2
online_test-88963ad2a4991260ea106d18bea55ad019446b4c.zip
Removed the database settings from production.py, now relies on local.py
Diffstat (limited to 'testapp')
-rw-r--r--testapp/production.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/testapp/production.py b/testapp/production.py
index be3d200..f4d88e2 100644
--- a/testapp/production.py
+++ b/testapp/production.py
@@ -2,13 +2,5 @@ from testapp.settings import *
DEBUG=False
TEMPLATE_DEBUG=DEBUG
-
-
-DATABASES["default"]["ENGINE"] = 'django.db.backends.mysql'
-DATABASES["default"]["NAME"] = 'online_test'
-DATABASES["default"]["USER"] = 'online_test_user'
-
-from testapp.local import DATABASE_PASSWORD
-# Imports DATABASE_PASSWORD from testapp/local.py that is not part of git repo
-DATABASES["default"]["PASSWORD"] = DATABASE_PASSWORD
+from testapp.local import *