diff --git a/app/settings.py b/app/settings.py index 401cc63..e159db7 100755 --- a/app/settings.py +++ b/app/settings.py @@ -39,7 +39,7 @@ USE_I18N = True # Absolute path to the directory that holds media. # Example: "/home/media/media.lawrence.com/" -MEDIA_ROOT = './media' +MEDIA_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'media') # URL that handles the media served from MEDIA_ROOT. Make sure to use a # trailing slash if there is a path component (optional in other cases).