diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2010-11-17 17:36:44 -0600 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2010-11-17 17:36:44 -0600 |
commit | 131023868a582158a4ac461dc2516e19a7fb27c6 (patch) | |
tree | 0e3971a8ca3f204f19dabcac5281d83241f6c5c6 /urls.py | |
parent | 90915ae0b7875a7cbb0e00846579b805a7909f30 (diff) |
urls.py now serve static content, modified download.html and delete arch logos
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -125,11 +125,8 @@ urlpatterns = patterns('', # Some django internals we use (r'^jsi18n/$', 'django.views.i18n.null_javascript_catalog'), +# Static content + (r'^media/(.*)$', 'django.views.static.serve', {'document_root': settings.DEPLOY_PATH+'/media'}) ) - -if settings.DEBUG == True: - urlpatterns += patterns('', - (r'^media/(.*)$', 'django.views.static.serve', - {'document_root': settings.DEPLOY_PATH+'/media'})) - + # vim: set ts=4 sw=4 et: |