From 23cb0d0956f31d855e0e06649998f724d97b0560 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 26 Mar 2012 12:34:16 -0500 Subject: Remove media/ staticfiles URL location Signed-off-by: Dan McGee --- urls.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/urls.py b/urls.py index 9b9b455..0f2e07a 100644 --- a/urls.py +++ b/urls.py @@ -107,9 +107,4 @@ for old_url, new_url in legacy_urls: urlpatterns += patterns('django.views.generic.simple', (old_url, 'redirect_to', {'url': new_url})) -if settings.DEBUG == True: - urlpatterns += patterns('', - (r'^media/(.*)$', 'django.views.static.serve', - {'document_root': os.path.join(settings.DEPLOY_PATH, 'media')})) - # vim: set ts=4 sw=4 et: -- cgit v1.2.3-24-g4f1b