diff options
author | Dan McGee <dan@archlinux.org> | 2012-03-26 12:34:16 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-26 12:34:16 -0500 |
commit | 23cb0d0956f31d855e0e06649998f724d97b0560 (patch) | |
tree | 9eef75722c50c626bfd5305d009f22b12323659a /urls.py | |
parent | 611e30172ae8db58fc2f6146fd1bee428e55ea6a (diff) |
Remove media/ staticfiles URL location
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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: |