diff options
Diffstat (limited to 'django_skaschool')
-rw-r--r-- | django_skaschool/settings.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django_skaschool/settings.py b/django_skaschool/settings.py index 6d2c867..6297455 100644 --- a/django_skaschool/settings.py +++ b/django_skaschool/settings.py @@ -138,6 +138,8 @@ STATIC_URL = '/static/' ## media root # absolute filesystem path to the directory that hold user-uploaded files #MEDIA_ROOT = '/var/www/example.com/media/' +MEDIA_ROOT = os.path.join(BASE_DIR, 'media_root') + # media url MEDIA_URL = '/media/' |