summaryrefslogtreecommitdiff
path: root/forums/settings.py
diff options
context:
space:
mode:
authorJayaram Pai2014-01-23 23:03:03 +0530
committerJayaram Pai2014-01-23 23:03:03 +0530
commit9f7c82e28316490ff479e31eb7b50db1e6ef1cd8 (patch)
treefe31b073d1fb838f2c7737ec90ef5ced0e68c310 /forums/settings.py
parent1d0d09f88b76a0f6827beff3b854e8ff30757306 (diff)
downloadFOSSEE-Forum-9f7c82e28316490ff479e31eb7b50db1e6ef1cd8.tar.gz
FOSSEE-Forum-9f7c82e28316490ff479e31eb7b50db1e6ef1cd8.tar.bz2
FOSSEE-Forum-9f7c82e28316490ff479e31eb7b50db1e6ef1cd8.zip
added question edit.
added question details change. added admin_user feature.
Diffstat (limited to 'forums/settings.py')
-rw-r--r--forums/settings.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/forums/settings.py b/forums/settings.py
index dc2bb08..2930bc0 100644
--- a/forums/settings.py
+++ b/forums/settings.py
@@ -1,6 +1,7 @@
#Custom settings
from os.path import *
from config import *
+from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS
PROJECT_DIR = abspath(dirname(__file__) + '/../')
@@ -139,7 +140,7 @@ INSTALLED_APPS = (
'django.contrib.messages',
'django.contrib.staticfiles',
# Uncomment the next line to enable the admin:
- 'django.contrib.admin',
+ #'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'website',
@@ -179,3 +180,4 @@ LOGGING = {
AUTH_USER_MODEL = 'drupal_auth.Users'
AUTHENTICATION_BACKENDS = ( 'drupal_auth.backends.DrupalAuthBackend', )
DATABASE_ROUTERS = ['drupal_auth.routers.DrupalAuthRouter']
+TEMPLATE_CONTEXT_PROCESSORS += ('website.context_processors.admin_processor', )