From 013c9f62f4d14a07a37ac97fa754bc1d9cff8c4f Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Fri, 7 Dec 2018 08:37:50 +0100 Subject: [PATCH] debian: remove STATICFILES_DIRS (#28667) --- debian-wheezy/debian_config.py | 2 -- debian/debian_config.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/debian-wheezy/debian_config.py b/debian-wheezy/debian_config.py index 88ce2769..1f240c10 100644 --- a/debian-wheezy/debian_config.py +++ b/debian-wheezy/debian_config.py @@ -10,7 +10,6 @@ MIDDLEWARE_CLASSES = ('authentic2.middleware.XForwardedForMiddleware',) + MIDDLE DEBUG = False STATIC_ROOT = '/var/lib/authentic2/collectstatic/' -STATICFILES_DIRS = ('/var/lib/authentic2/static',) + STATICFILES_DIRS TEMPLATE_DIRS = ('/var/lib/authentic2/templates',) + TEMPLATE_DIRS LOCALE_PATHS = ('/var/lib/authentic2/locale',) + LOCALE_PATHS @@ -196,7 +195,6 @@ def extract_settings_from_environ(): globals()[string_env] = os.environ[string_env] PATH_ENVS = ( - 'STATICFILES_DIRS', 'TEMPLATE_DIRS', 'LOCALE_PATHS', 'ALLOWED_HOSTS', diff --git a/debian/debian_config.py b/debian/debian_config.py index ae98c29c..4340458d 100644 --- a/debian/debian_config.py +++ b/debian/debian_config.py @@ -10,7 +10,6 @@ MIDDLEWARE_CLASSES = ('authentic2.middleware.XForwardedForMiddleware',) + MIDDLE DEBUG = False STATIC_ROOT = '/var/lib/authentic2/collectstatic/' -STATICFILES_DIRS = ('/var/lib/authentic2/static',) + STATICFILES_DIRS TEMPLATES[0]['DIRS'] = ['/var/lib/authentic2/templates'] + TEMPLATES[0]['DIRS'] LOCALE_PATHS = ('/var/lib/authentic2/locale',) + LOCALE_PATHS @@ -193,7 +192,6 @@ def extract_settings_from_environ(): globals()[string_env] = os.environ[string_env] PATH_ENVS = ( - 'STATICFILES_DIRS', 'TEMPLATE_DIRS', 'LOCALE_PATHS', 'ALLOWED_HOSTS', -- 2.19.2