From f177ef93af89df21aebe992eb61d8dd4559c1857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Sat, 9 Jul 2016 23:06:59 +0100 Subject: [PATCH] Style and security changes According to MR discussion. --- cof/settings_dev.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cof/settings_dev.py b/cof/settings_dev.py index 471b8349..36cd8a3a 100644 --- a/cof/settings_dev.py +++ b/cof/settings_dev.py @@ -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