Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
22:42f22c56ab05 | 23:a5f27f25fa52 |
---|---|
7 url(r'^$', 'index', name='downloads-index'), | 7 url(r'^$', 'index', name='downloads-index'), |
8 url(r'^add/$', 'add', name='downloads-add'), | 8 url(r'^add/$', 'add', name='downloads-add'), |
9 url(r'^category/(?P<category>\d+)/(?P<sort>title|date|rating|hits)/page/(?P<page>\d+)/$', | 9 url(r'^category/(?P<category>\d+)/(?P<sort>title|date|rating|hits)/page/(?P<page>\d+)/$', |
10 'category', | 10 'category', |
11 name='downloads-category'), | 11 name='downloads-category'), |
12 url(r'^comments/(\d+)/$', 'comments', name='downloads-comments'), | 12 url(r'^details/(\d+)/$', 'details', name='downloads-details'), |
13 url(r'^(\d+)/$', 'download', name='downloads-download'), | 13 url(r'^(\d+)/$', 'download', name='downloads-download'), |
14 url(r'^new/$', 'new', name='downloads-new'), | 14 url(r'^new/$', 'new', name='downloads-new'), |
15 url(r'^popular/$', 'popular', name='downloads-popular'), | 15 url(r'^popular/$', 'popular', name='downloads-popular'), |
16 url(r'^random/$', 'random_download', name='downloads-random'), | 16 url(r'^random/$', 'random_download', name='downloads-random'), |
17 url(r'^rate/$', 'rate_download', name='downloads-rate'), | 17 url(r'^rate/$', 'rate_download', name='downloads-rate'), |