Mercurial > public > sg101
view gpp/downloads/urls.py @ 99:10d6182b9f6e
Forums: added error handling to the flagging of posts. Did the same with the comments function too.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 14 Sep 2009 00:06:08 +0000 |
parents | a5f27f25fa52 |
children | 27bee3ac85e6 |
line wrap: on
line source
""" URLs for the downloads application. """ from django.conf.urls.defaults import * urlpatterns = patterns('downloads.views', url(r'^$', 'index', name='downloads-index'), url(r'^add/$', 'add', name='downloads-add'), url(r'^category/(?P<category>\d+)/(?P<sort>title|date|rating|hits)/page/(?P<page>\d+)/$', 'category', name='downloads-category'), 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'), url(r'^random/$', 'random_download', name='downloads-random'), url(r'^rate/$', 'rate_download', name='downloads-rate'), url(r'^rating/$', 'rating', name='downloads-rating'), url(r'^search/page/(?P<page>\d+)/$', 'search', name='downloads-search'), url(r'^thanks/$', 'thanks', name='downloads-add_thanks'), )