summaryrefslogtreecommitdiff
path: root/testapp/production.py
diff options
context:
space:
mode:
authorparth2011-12-09 05:03:33 +0530
committerparth2011-12-09 05:03:33 +0530
commit43b84eb21c4aee9fcfd24aee09c8072a1b4885da (patch)
tree39d15b3b84f8e56148f9ac914d12373e61925b6f /testapp/production.py
parent6cde8b5c4bfcfa64f537dde395dacc44fda72bc7 (diff)
downloadonline_test-43b84eb21c4aee9fcfd24aee09c8072a1b4885da.tar.gz
online_test-43b84eb21c4aee9fcfd24aee09c8072a1b4885da.tar.bz2
online_test-43b84eb21c4aee9fcfd24aee09c8072a1b4885da.zip
Added separate production.cfg and production.py files for easy development
Diffstat (limited to 'testapp/production.py')
-rw-r--r--testapp/production.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/testapp/production.py b/testapp/production.py
new file mode 100644
index 0000000..2710bdb
--- /dev/null
+++ b/testapp/production.py
@@ -0,0 +1,10 @@
+from project.settings import *
+
+DEBUG=False
+TEMPLATE_DEBUG=DEBUG
+
+DATABASE_ENGINE = 'django.db.backends.mysql'
+DATABASE_NAME = 'online_test'
+DATABASE_USER = 'online_test_user'
+# 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