From: Brett Parker Date: Thu, 13 Jun 2019 13:00:22 +0000 (+0100) Subject: Update settings X-Git-Url: https://git.sommitrealweird.co.uk/eatslugs.git/commitdiff_plain/00029ea4c856e80a082639c2c8df127864a76499?hp=0b546f44f00b16137e77a3736b41f769b96f70e2 Update settings --- diff --git a/eatslugs/settings.py b/eatslugs/settings.py index cd97c96..1eec832 100644 --- a/eatslugs/settings.py +++ b/eatslugs/settings.py @@ -69,12 +69,23 @@ INSTALLED_APPS = ( '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 *