src/hdalab/settings.py
changeset 394 4911075b6000
parent 335 51225e522007
child 411 5e3f4a5f0900
equal deleted inserted replaced
393:2de7d0f96813 394:4911075b6000
   112     'django.middleware.csrf.CsrfViewMiddleware',
   112     'django.middleware.csrf.CsrfViewMiddleware',
   113     'django.contrib.auth.middleware.AuthenticationMiddleware',
   113     'django.contrib.auth.middleware.AuthenticationMiddleware',
   114     'django.contrib.messages.middleware.MessageMiddleware',
   114     'django.contrib.messages.middleware.MessageMiddleware',
   115 )
   115 )
   116 
   116 
       
   117 # List of processors used by RequestContext to populate the context.
       
   118 # Each one should be a callable that takes the request object as its
       
   119 # only parameter and returns a dictionary to add to the context.
       
   120 TEMPLATE_CONTEXT_PROCESSORS = (
       
   121     'django.contrib.auth.context_processors.auth',
       
   122     'django.core.context_processors.debug',
       
   123     'django.core.context_processors.i18n',
       
   124     'django.core.context_processors.media',
       
   125     'django.core.context_processors.static',
       
   126     'django.contrib.messages.context_processors.messages',
       
   127     'hdalab.context_processors.version',
       
   128 )
       
   129 
   117 ROOT_URLCONF = 'hdalab.urls'
   130 ROOT_URLCONF = 'hdalab.urls'
   118 
   131 
   119 TEMPLATE_DIRS = (
   132 TEMPLATE_DIRS = (
   120     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
   133     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
   121     # Always use forward slashes, even on Windows.
   134     # Always use forward slashes, even on Windows.