Add contact email setting
[xnet] / xnet / settings / base.py
index 1025a8f..f865072 100644 (file)
@@ -21,6 +21,8 @@ ADMINS = (
 
 MANAGERS = ADMINS
 
+CONTACT_EMAIL = 'contact@polytechnique.org'
+
 AUTHENTICATION_BACKENDS = (
     'django_authgroupex.auth.AuthGroupeXBackend',
 )
@@ -54,6 +56,7 @@ TEMPLATE_CONTEXT_PROCESSORS = (
     'django.core.context_processors.static',
     'django.core.context_processors.tz',
     'django.contrib.messages.context_processors.messages',
+    'xnet.site.context_processors.public_settings',
     'xnet.groups.context_processors.xnet',
 )
 
@@ -100,7 +103,7 @@ STATICFILES_DIRS = (
 # List of finder classes that know how to find static files in
 # various locations.
 STATICFILES_FINDERS = (
-    'django.contrib.staticfiles.finders.FileSystemFinder',
+#    'django.contrib.staticfiles.finders.FileSystemFinder',
     'django.contrib.staticfiles.finders.AppDirectoriesFinder',
 #    'django.contrib.staticfiles.finders.DefaultStorageFinder',
 )
@@ -110,7 +113,7 @@ SECRET_KEY = 'FOR DEV ONLY!!'
 
 # List of callables that know how to import templates from various sources.
 TEMPLATE_LOADERS = (
-    'django.template.loaders.filesystem.Loader',
+#    'django.template.loaders.filesystem.Loader',
     'django.template.loaders.app_directories.Loader',
 #     'django.template.loaders.eggs.Loader',
 )
@@ -132,7 +135,7 @@ ROOT_URLCONF = 'xnet.urls'
 WSGI_APPLICATION = 'xnet.wsgi.application'
 
 TEMPLATE_DIRS = (
-    os.path.join(ROOT_DIR, 'templates'),
+    #os.path.join(ROOT_DIR, 'templates'),
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
     # Always use forward slashes, even on Windows.
     # Don't forget to use absolute paths, not relative paths.