Commit 23cb0d09 authored by Dan McGee's avatar Dan McGee
Browse files

Remove media/ staticfiles URL location


Signed-off-by: default avatarDan McGee <dan@archlinux.org>
parent 611e3017
......@@ -107,9 +107,4 @@
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:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment