diff gpp/urls.py @ 255:2ba1a6d3b984

Close #104; downloads javascript has incorrect hard-coded path to star graphics. Also correct count fields in downloads category fixture.
author Brian Neal <bgneal@gmail.com>
date Tue, 21 Sep 2010 00:52:55 +0000
parents 71fd8454688b
children 8fd4984d5c3b
line wrap: on
line diff
--- a/gpp/urls.py	Tue Sep 21 00:26:38 2010 +0000
+++ b/gpp/urls.py	Tue Sep 21 00:52:55 2010 +0000
@@ -56,5 +56,5 @@
 
 if settings.DEBUG:
    urlpatterns += patterns('',
-      (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
+      (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
    )