From 9fe61554a7e1ef7fc07159a731b42d76ad47e503 Mon Sep 17 00:00:00 2001 From: rscnt Date: Sun, 31 May 2015 04:52:53 -0600 Subject: [PATCH] settings: fixed typo on media. Signed-off-by: rscnt --- dynamicweb/settings.py | 3 ++- ungleich/migrations/0002_ungleichpage_image.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py index 962b0615..16a1910f 100644 --- a/dynamicweb/settings.py +++ b/dynamicweb/settings.py @@ -260,8 +260,9 @@ STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static') # Media files. -MEDIA_ROOT = os.path.abspath(os.path.join(BASE_DIR, '..', 'media')) +MEDIA_ROOT = os.path.join(BASE_DIR, 'media') MEDIA_URL = APP_ROOT_ENDPOINT + 'media/' +FILE_UPLOAD_PERMISSIONS = 0o644 # Templates confs TEMPLATE_DIRS = ( diff --git a/ungleich/migrations/0002_ungleichpage_image.py b/ungleich/migrations/0002_ungleichpage_image.py index b98b272f..44a6be64 100644 --- a/ungleich/migrations/0002_ungleichpage_image.py +++ b/ungleich/migrations/0002_ungleichpage_image.py @@ -8,7 +8,6 @@ import filer.fields.image class Migration(migrations.Migration): dependencies = [ - ('filer', '0002_auto_20150522_0450'), ('ungleich', '0001_initial'), ]