From 988771a219b08a39d1eb4b439d2de42d0833520f Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Mon, 1 Sep 2014 15:22:26 +0200 Subject: [PATCH] [TASK] Add MEDIA_ROOT to configuration, create media folder. --- citavi_mapper/settings.py | 2 ++ media/.PLACEHOLDER | 0 2 files changed, 2 insertions(+) create mode 100644 media/.PLACEHOLDER diff --git a/citavi_mapper/settings.py b/citavi_mapper/settings.py index 25a890f..7f5d679 100644 --- a/citavi_mapper/settings.py +++ b/citavi_mapper/settings.py @@ -75,6 +75,8 @@ STATIC_ROOT = os.path.join(BASE_DIR, "static") STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage' STATICFILES_DIRS = (os.path.join(BASE_DIR, 'contrib'),) +MEDIA_ROOT = os.path.join(BASE_DIR, "media") + PIPELINE_COMPILERS = ( 'pipeline.compilers.less.LessCompiler', ) diff --git a/media/.PLACEHOLDER b/media/.PLACEHOLDER new file mode 100644 index 0000000..e69de29