diff gpp/downloads/urls.py @ 23:a5f27f25fa52

Added a latest_downloads template tag. Made the comments view the details view for a download. Changed get_absolute_url to point to this new view.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Apr 2009 21:16:59 +0000
parents dbd703f7d63a
children 27bee3ac85e6
line wrap: on
line diff
--- a/gpp/downloads/urls.py	Sun Apr 19 21:01:15 2009 +0000
+++ b/gpp/downloads/urls.py	Sun Apr 19 21:16:59 2009 +0000
@@ -9,7 +9,7 @@
     url(r'^category/(?P<category>\d+)/(?P<sort>title|date|rating|hits)/page/(?P<page>\d+)/$', 
        'category',
        name='downloads-category'),
-    url(r'^comments/(\d+)/$', 'comments', name='downloads-comments'),
+    url(r'^details/(\d+)/$', 'details', name='downloads-details'),
     url(r'^(\d+)/$', 'download', name='downloads-download'),
     url(r'^new/$', 'new', name='downloads-new'),
     url(r'^popular/$', 'popular', name='downloads-popular'),