Added back default Django template engine as the admin interface needs it.
[toast/alpenzoo.git] / alpenzoo_django / settings.py
index 08bfb89c1abea21281770a4297fe1581dda699a8..3445e89f177090b30aff138cff8af582b1d4b50d 100644 (file)
@@ -54,13 +54,26 @@ MIDDLEWARE_CLASSES = (
 ROOT_URLCONF = 'alpenzoo_django.urls'
 
 TEMPLATES = [
+    {
+        'BACKEND': 'django.template.backends.django.DjangoTemplates',
+        'DIRS': [],
+        'APP_DIRS': True,
+        'OPTIONS': {
+            'context_processors': [
+                'django.template.context_processors.debug',
+                'django.template.context_processors.request',
+                'django.contrib.auth.context_processors.auth',
+                'django.contrib.messages.context_processors.messages',
+            ],
+        },
+    },
     {
         'BACKEND': 'django_genshi_template.django_genshi_template.backends.genshi.Genshi',
         'DIRS': [],
         'APP_DIRS': True,
         'OPTIONS': {
             'auto_reload': True,
-            'app_dirname': 'templates'
+            'app_dirname': 'genshi'
         },
     },
 ]