settings.py
changeset 12 243a7e90f3c3
parent 8 f0b5ff862c6d
child 20 72ce0ed9133a
--- a/settings.py	Fri Oct 02 14:01:09 2009 +0530
+++ b/settings.py	Fri Oct 02 14:01:48 2009 +0530
@@ -12,6 +12,10 @@
 
 MANAGERS = ADMINS
 
+SESSION_EXPIRE_AT_BROWSER_CLOSE = True
+
+DEFAULT_FROM_EMAIL = 'admin@scipy.in'
+
 DATABASE_ENGINE = 'mysql'           # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
 DATABASE_NAME = 'conference'             # Or path to database file if using sqlite3.
 DATABASE_USER = 'root'             # Not used with sqlite3.
@@ -57,6 +61,14 @@
 
 AUTH_PROFILE_MODULE = 'conference.participant'
 
+# List of context processors.
+TEMPLATE_CONTEXT_PROCESSORS = (
+    'django.core.context_processors.auth',
+    'django.core.context_processors.debug',
+    'django.core.context_processors.i18n',
+    'django.core.context_processors.media'
+)
+
 # List of callables that know how to import templates from various sources.
 TEMPLATE_LOADERS = (
     'django.template.loaders.filesystem.load_template_source',