Style and security changes

According to MR discussion.
This commit is contained in:
Théophile Bastian 2016-07-09 23:06:59 +01:00
parent cd73d4e96d
commit f177ef93af

View file

@ -119,7 +119,7 @@ STATIC_URL = '/static/'
# Media upload (through ImageField, SiteField)
# https://docs.djangoproject.com/en/1.9/ref/models/fields/
MEDIA_ROOT = './media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
MEDIA_URL = '/media/'
# Various additional settings