diff options
-rw-r--r-- | production.cfg | 21 | ||||
-rw-r--r-- | testapp/production.py | 10 |
2 files changed, 31 insertions, 0 deletions
diff --git a/production.cfg b/production.cfg new file mode 100644 index 0000000..e3ee886 --- /dev/null +++ b/production.cfg @@ -0,0 +1,21 @@ +[buildout] +parts = + django +eggs = + PIL + South + MySQL-python + +[versions] +django = 1.3 + +[django] +recipe = djangorecipe +project = testapp +settings = production +wsgi = true +wsgilog=wsgi.log +eggs = + ${buildout:eggs} +extra-paths = + testapp 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 |