Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
254:e43b1be24ccc | 255:2ba1a6d3b984 |
---|---|
54 ) | 54 ) |
55 | 55 |
56 | 56 |
57 if settings.DEBUG: | 57 if settings.DEBUG: |
58 urlpatterns += patterns('', | 58 urlpatterns += patterns('', |
59 (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), | 59 (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}), |
60 ) | 60 ) |