From: Brett Parker Date: Thu, 13 Jun 2019 13:03:39 +0000 (+0100) Subject: settings fixes X-Git-Url: https://git.sommitrealweird.co.uk/eatslugs.git/commitdiff_plain/288f5f54203a7dba7a604a07b98a69caba74e667?ds=inline settings fixes --- diff --git a/eatslugs/settings.py b/eatslugs/settings.py index 1eec832..84c9b90 100644 --- a/eatslugs/settings.py +++ b/eatslugs/settings.py @@ -42,12 +42,6 @@ import string key_chars = "%s%s%s" %(string.letters, string.digits, '+-()_#~') SECRET_KEY = "".join([random.choice(key_chars) for a in range(0,50)]) -# List of callables that know how to import templates from various sources. -TEMPLATE_LOADERS = ( - 'django.template.loaders.filesystem.Loader', - 'django.template.loaders.app_directories.Loader', -) - MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', @@ -56,10 +50,6 @@ MIDDLEWARE_CLASSES = ( ROOT_URLCONF = 'urls' -TEMPLATE_DIRS = ( - os.path.join(topdir, 'templates') -) - INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth',