debian: add MEDIA_DIR

This commit is contained in:
Frédéric Péters 2015-11-18 15:31:27 +01:00
parent ebb273916e
commit 10311bdce6
1 changed files with 2 additions and 0 deletions

View File

@ -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