gremmie@1: """ gremmie@1: URLs for the downloads application. gremmie@1: """ bgneal@1028: from django.conf.urls import url gremmie@1: bgneal@1028: import downloads.views bgneal@1028: bgneal@1028: urlpatterns = [ bgneal@1028: url(r'^$', downloads.views.index, name='downloads-index'), bgneal@1028: url(r'^add/$', downloads.views.add, name='downloads-add'), bgneal@241: url(r'^category/(?P[\w\d-]+)/(?Ptitle|date|rating|hits)/$', bgneal@1028: downloads.views.category, gremmie@1: name='downloads-category'), bgneal@1028: url(r'^details/(\d+)/$', downloads.views.details, name='downloads-details'), bgneal@1028: url(r'^new/$', downloads.views.new, name='downloads-new'), bgneal@1028: url(r'^popular/$', downloads.views.popular, name='downloads-popular'), bgneal@1028: url(r'^request/$', downloads.views.request_download, name='downloads-request_download'), bgneal@1028: url(r'^rate/$', downloads.views.rate_download, name='downloads-rate'), bgneal@1028: url(r'^rating/$', downloads.views.rating, name='downloads-rating'), bgneal@1028: url(r'^thanks/$', downloads.views.thanks, name='downloads-add_thanks'), bgneal@1028: ]