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