]> git.sommitrealweird.co.uk Git - eatslugs.git/commitdiff
Update settings
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Thu, 13 Jun 2019 13:00:22 +0000 (14:00 +0100)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Thu, 13 Jun 2019 13:00:22 +0000 (14:00 +0100)
eatslugs/settings.py

index cd97c9642321868754a6a54fc0ce7482e9c9ddb3..1eec8323fef01ce263e3d5710598fd5b5efbe49f 100644 (file)
@@ -69,12 +69,23 @@ INSTALLED_APPS = (
     'recipes',
 )
 
     'recipes',
 )
 
-TEMPLATE_CONTEXT_PROCESSORS = (
-    'django.contrib.auth.context_processors.auth',
-    'django.core.context_processors.debug',
-    'django.core.context_processors.i18n',
-    'generic.context_processors.media',
-)
+TEMPLATES = [
+    {
+        'BACKEND': 'django.template.backends.django.DjangoTemplates',
+        'DIRS': [os.path.join(topdir, 'templates'),],
+        'APP_DIRS': True,
+        'OPTIONS': {
+            'context_processors': [
+                'django.contrib.auth.context_processors.auth',
+                'django.core.context_processors.debug',
+                'django.core.context_processors.i18n',
+                'generic.context_processors.media',
+            ],
+            'debug': True,
+        },
+    },
+]
+
 
 try:
     from localsettings import *
 
 try:
     from localsettings import *