Added MEDIA_ROOT Variable to settings.py

Change-Id: I02f34b70e0f4e0c9c3106d66457cee8c50c861ee
This commit is contained in:
Paarhati Ozkasgarli 2017-03-04 10:27:32 +03:00
parent d98d2f51f7
commit 4b7320e634
1 changed files with 4 additions and 0 deletions

View File

@ -160,6 +160,10 @@ STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]
# media location
MEDIA_ROOT = os.path.join(BASE_DIR, "static/media")
STATIC_URL = '/static/'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'