summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-26 12:34:16 -0500
committerDan McGee <dan@archlinux.org>2012-03-26 12:34:16 -0500
commit23cb0d0956f31d855e0e06649998f724d97b0560 (patch)
tree9eef75722c50c626bfd5305d009f22b12323659a /urls.py
parent611e30172ae8db58fc2f6146fd1bee428e55ea6a (diff)
Remove media/ staticfiles URL location
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/urls.py b/urls.py
index 9b9b4559..0f2e07af 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: