summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-11-17 17:36:44 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-11-17 17:36:44 -0600
commit131023868a582158a4ac461dc2516e19a7fb27c6 (patch)
tree0e3971a8ca3f204f19dabcac5281d83241f6c5c6 /urls.py
parent90915ae0b7875a7cbb0e00846579b805a7909f30 (diff)
urls.py now serve static content, modified download.html and delete arch logos
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/urls.py b/urls.py
index 1f8bc7a6..886cd375 100644
--- a/urls.py
+++ b/urls.py
@@ -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: