From 10311bdce6f917027c6f2f60f894d09dc632503a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 18 Nov 2015 15:31:27 +0100 Subject: [PATCH] debian: add MEDIA_DIR --- debian/debian_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/debian_config.py b/debian/debian_config.py index fc02a3c..64b6ced 100644 --- a/debian/debian_config.py +++ b/debian/debian_config.py @@ -21,6 +21,8 @@ VAR_DIR = '/var/lib/%s' % PROJECT_NAME # collecstatic destination STATIC_ROOT = os.path.join(VAR_DIR, 'collectstatic') +MEDIA_ROOT = os.path.join(VAR_DIR, 'media') + # Browsers may ensure that cookies are only sent under an HTTPS connection CSRF_COOKIE_SECURE = True SESSION_COOKIE_SECURE = True