Commit a5fff4cacd7a6d6e439a77b855ca84c06d15f97b
1 parent
4f2f79b4
Exists in
master
and in
5 other branches
Change media_root #230
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
amadeus/settings.py
@@ -163,7 +163,7 @@ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO','https') | @@ -163,7 +163,7 @@ SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO','https') | ||
163 | ALLOWED_HOSTS = ['*'] | 163 | ALLOWED_HOSTS = ['*'] |
164 | 164 | ||
165 | # Files | 165 | # Files |
166 | -MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'uploads') | 166 | +MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'uploads') |
167 | MEDIA_URL = '/uploads/' | 167 | MEDIA_URL = '/uploads/' |
168 | 168 | ||
169 | 169 |