added production.py back to the system 2011
authorprimal primal007@gmail.com
Tue, 06 Dec 2011 18:26:02 +0530
branch2011
changeset 518 9aa2d5e2a1cc
parent 517 bffed1e77e1e
child 519 5f6722c88789
added production.py back to the system
project/production.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project/production.py	Tue Dec 06 18:26:02 2011 +0530
@@ -0,0 +1,32 @@
+from project.settings import *
+
+DEBUG=False
+TEMPLATE_DEBUG=DEBUG
+
+SITE_ID = 3
+
+INSTALLED_APPS = (
+    'django.contrib.auth',
+    'django.contrib.contenttypes',
+    'django.contrib.comments',
+    'django.contrib.sessions',
+    'django.contrib.admin',
+    'django.contrib.sites',
+    'django.contrib.flatpages',
+    'django.contrib.markup',
+    'django.contrib.sitemaps',
+    'project.scipycon',
+    'project.scipycon.base',
+    'project.scipycon.proceedings',
+    'project.scipycon.registration',
+    'project.scipycon.talk',
+    'project.scipycon.user',
+    'tagging',
+    'robots',
+)
+
+DATABASE_ENGINE = 'mysql'
+DATABASE_NAME = 'scipycon'
+DATABASE_USER = 'scipy'
+# Imports DATABASE_PASSWORD from project/local.py that is not part of mercurial repo
+from project.local import DATABASE_PASSWORD