add MEDIA_ROOT to base.py

This commit is contained in:
Thomas Steen Rasmussen 2016-05-30 20:22:47 +02:00
parent a91ed3bc5c
commit ac4444f070

View file

@ -36,9 +36,8 @@ INSTALLED_APPS = [
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATIC_ROOT = local_dir('static') STATIC_ROOT = local_dir('static')
STATICFILES_DIRS = [local_dir('static_src')] STATICFILES_DIRS = [local_dir('static_src')]
MEDIA_URL = '/media/' #MEDIA_URL = '/media/'
MEDIA_ROOT = local_dir('media') MEDIA_ROOT = env('MEDIA_ROOT')
LANGUAGE_CODE = 'en-us' LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC' TIME_ZONE = 'UTC'
USE_I18N = True USE_I18N = True