Commit 42c1cb0eace51168c476d7afb10aeac1e16adcca
1 parent
0b324c3d
Exists in
master
and in
5 other branches
modified media root settings
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
amadeus/settings.py
... | ... | @@ -165,7 +165,7 @@ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO','https') |
165 | 165 | ALLOWED_HOSTS = ['*'] |
166 | 166 | |
167 | 167 | # Files |
168 | -MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'uploads') | |
168 | +MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'uploads') | |
169 | 169 | MEDIA_URL = '/uploads/' |
170 | 170 | |
171 | 171 | ... | ... |