[TASK] Add MEDIA_ROOT to configuration, create media folder.

This commit is contained in:
Jan Philipp Timme 2014-09-01 15:22:26 +02:00
parent e1203390bd
commit 988771a219
2 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ STATIC_ROOT = os.path.join(BASE_DIR, "static")
STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage' STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
STATICFILES_DIRS = (os.path.join(BASE_DIR, 'contrib'),) STATICFILES_DIRS = (os.path.join(BASE_DIR, 'contrib'),)
MEDIA_ROOT = os.path.join(BASE_DIR, "media")
PIPELINE_COMPILERS = ( PIPELINE_COMPILERS = (
'pipeline.compilers.less.LessCompiler', 'pipeline.compilers.less.LessCompiler',
) )

0
media/.PLACEHOLDER Normal file
View File