Project

General

Profile

0001-debian-set-media-root-directory-in-single-tenant-mod.patch

Benjamin Renard, 10 February 2022 06:59 PM

Download (890 Bytes)

View differences:

Subject: [PATCH] debian: set media root directory in single-tenant mode
 (#61593)

License: MIT
 debian/debian_config.py | 1 +
 1 file changed, 1 insertion(+)
debian/debian_config.py
DEBUG = False
STATIC_ROOT = '/var/lib/authentic2/collectstatic/'
MEDIA_ROOT = '/var/lib/authentic2/media/'
STATICFILES_DIRS = ('/var/lib/authentic2/static',)
TEMPLATES[0]['DIRS'] = ['/var/lib/authentic2/templates'] + TEMPLATES[0]['DIRS']
LOCALE_PATHS = ('/var/lib/authentic2/locale',) + LOCALE_PATHS