summaryrefslogtreecommitdiffstats
path: root/settings_local.py
diff options
context:
space:
mode:
Diffstat (limited to 'settings_local.py')
-rw-r--r--settings_local.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/settings_local.py b/settings_local.py
new file mode 100644
index 00000000..d6c7224b
--- /dev/null
+++ b/settings_local.py
@@ -0,0 +1,25 @@
+# encoding:utf-8
+
+#path must have slash appended!!!
+SITE_SRC_ROOT = '/var/www/vhosts/default/htdocs/cnprog-tests/test/'
+LOG_FILENAME = 'django.lanai.log'
+
+#for logging
+import logging
+logging.basicConfig(filename=SITE_SRC_ROOT + 'log/' + LOG_FILENAME, level=logging.DEBUG,)
+
+DATABASE_NAME = 'cnprog' # Or path to database file if using sqlite3.
+DATABASE_USER = 'cnprog' # Not used with sqlite3.
+DATABASE_PASSWORD = '' # Not used with sqlite3.
+DATABASE_ENGINE = '' #mysql, etc
+
+#why does this stuff go here?
+#MIDDLEWARE_CLASSES = (
+# 'django.middleware.gzip.GZipMiddleware',
+# 'django.contrib.sessions.middleware.SessionMiddleware',
+# 'django.middleware.locale.LocaleMiddleware',
+# 'django.middleware.common.CommonMiddleware',
+# 'django.contrib.auth.middleware.AuthenticationMiddleware',
+# 'django.middleware.transaction.TransactionMiddleware',
+# 'debug_toolbar.middleware.DebugToolbarMiddleware',
+#)