Commits

Mathieu Agopian committed 0ed5457

some more additions to the settings.py and local_settings.py.inc files

Comments (0)

Files changed (2)

local_settings.py.inc

 
 """
 
+from settings import *
+
 DATABASE_ENGINE = 'postgresql_psycopg2' # or 'mysql'
 DATABASE_NAME = '###dbname###'
 DATABASE_USER = '###username###'
 # -*- coding: utf-8 -*-
 
 import os
+from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS
 
 PROJECT_ROOT = os.path.dirname(os.path.realpath(__file__))
 PROJECT_NAME = os.path.basename(PROJECT_ROOT)
     'django.template.loaders.app_directories.load_template_source',
 )
 
+TEMPLATE_CONTEXT_PROCESSORS += (
+    'django.core.context_processors.request',
+)
+
 MIDDLEWARE_CLASSES = (
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',