From 7926e5fd5c20f39d677ca3c34579c786452fb364 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 9 Apr 2015 09:34:52 +0000 Subject: [PATCH] Local settings relative media/static url --- shelfzilla/settings/local.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shelfzilla/settings/local.py b/shelfzilla/settings/local.py index de881d1..13e86bd 100644 --- a/shelfzilla/settings/local.py +++ b/shelfzilla/settings/local.py @@ -28,8 +28,8 @@ INSTALLED_APPS += ( FILER_DUMP_PAYLOAD = True -MEDIA_URL = 'http://localhost:8000/media/' -STATIC_URL = 'http://localhost:8000/static/' +MEDIA_URL = '/media/' +STATIC_URL = '/static/' EMAIL_BACKEND = 'django_mailgun.MailgunBackend' MAILGUN_ACCESS_KEY = 'key-fdfc57f2bfb35a4ba5f9c1e3c30af373'