Allow staff to view anything on the front site.
[matthijs/projects/xerxes.git] / settings.py
index 30463db4fd2e346f5332d644a6519d32a7647c51..b7123114c88fccf7326f5f886497a2a772492c74 100644 (file)
@@ -36,8 +36,6 @@ LANGUAGES = (
     ('en', 'English'),
 )
 
-SITE_ID = 1
-
 # If you set this to False, Django will make some optimizations so as not
 # to load the internationalization machinery.
 USE_I18N = True
@@ -101,6 +99,7 @@ TEMPLATE_CONTEXT_PROCESSORS = (
     "django.core.context_processors.debug",
     "django.core.context_processors.i18n",
     "django.core.context_processors.media",
+    "django.core.context_processors.request",
 )
 
 LOGIN_URL = "/accounts/login/"