setup2
authorMarc Nachin <marc.nachin@org>
Thu, 20 Nov 2014 15:38:21 +0000 (16:38 +0100)
committerMarc Nachin <marc.nachin@org>
Thu, 20 Nov 2014 15:38:21 +0000 (16:38 +0100)
project/settings.py

index 964ce31..6f0bbf2 100644 (file)
@@ -36,7 +36,7 @@ PROJECT_ROOT = os.path.dirname(__file__)
 SITE_ROOT = os.path.dirname(PROJECT_ROOT)
 
 MEDIA_ROOT = os.path.join(SITE_ROOT, 'media')
-MEDIA_URL = '../media/'
+MEDIA_URL = '/media/'
 
 STATIC_ROOT = os.path.join(SITE_ROOT, 'sitestatic')
 STATIC_URL = '/static/'