Commit 451739017e0c1cfc8ac13fc8f6e8cc4a86173529
1 parent
71559f23
Exists in
master
and in
5 other branches
trying new configuration for media files
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 | 163 | ALLOWED_HOSTS = ['*'] |
164 | 164 | |
165 | 165 | # Files |
166 | -MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'uploads') | |
166 | +MEDIA_ROOT = os.path.join(os.path.dirname(BASE_DIR), 'uploads') | |
167 | 167 | MEDIA_URL = '/uploads/' |
168 | 168 | |
169 | 169 | ... | ... |