debian: don't reference undefined STATICFILES_DIRS (#28727)

This commit is contained in:
Frédéric Péters 2018-12-07 08:21:52 +01:00
parent 32418d2e87
commit 13ec5eb896
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ MIDDLEWARE_CLASSES = ('authentic2.middleware.XForwardedForMiddleware',) + MIDDLE
DEBUG = False
STATIC_ROOT = '/var/lib/authentic2/collectstatic/'
STATICFILES_DIRS = ('/var/lib/authentic2/static',) + STATICFILES_DIRS
STATICFILES_DIRS = ('/var/lib/authentic2/static',)
TEMPLATE_DIRS = ('/var/lib/authentic2/templates',) + TEMPLATE_DIRS
LOCALE_PATHS = ('/var/lib/authentic2/locale',) + LOCALE_PATHS

View File

@ -10,7 +10,7 @@ MIDDLEWARE_CLASSES = ('authentic2.middleware.XForwardedForMiddleware',) + MIDDLE
DEBUG = False
STATIC_ROOT = '/var/lib/authentic2/collectstatic/'
STATICFILES_DIRS = ('/var/lib/authentic2/static',) + STATICFILES_DIRS
STATICFILES_DIRS = ('/var/lib/authentic2/static',)
TEMPLATES[0]['DIRS'] = ['/var/lib/authentic2/templates'] + TEMPLATES[0]['DIRS']
LOCALE_PATHS = ('/var/lib/authentic2/locale',) + LOCALE_PATHS