diff options
author | Parth buch | 2012-03-13 15:19:35 +0530 |
---|---|---|
committer | Parth buch | 2012-03-13 15:19:35 +0530 |
commit | b9c884f370d08654c418b7cbd010f3c61870b193 (patch) | |
tree | bd424e547fa4ab794b60b8b56a9d99c2e5b1ea1c /testapp/production.py | |
parent | e29522ba1798ca07d91925a5321249925c5468be (diff) | |
download | online_test-b9c884f370d08654c418b7cbd010f3c61870b193.tar.gz online_test-b9c884f370d08654c418b7cbd010f3c61870b193.tar.bz2 online_test-b9c884f370d08654c418b7cbd010f3c61870b193.zip |
Updated production.py to close the issue#3
Diffstat (limited to 'testapp/production.py')
-rw-r--r-- | testapp/production.py | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/testapp/production.py b/testapp/production.py index 2710bdb..be3d200 100644 --- a/testapp/production.py +++ b/testapp/production.py @@ -1,10 +1,14 @@ -from project.settings import * +from testapp.settings import * DEBUG=False TEMPLATE_DEBUG=DEBUG -DATABASE_ENGINE = 'django.db.backends.mysql' -DATABASE_NAME = 'online_test' -DATABASE_USER = 'online_test_user' + +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 -from testapp.local import DATABASE_PASSWORD
\ No newline at end of file +DATABASES["default"]["PASSWORD"] = DATABASE_PASSWORD + |