diff gpp/downloads/urls.py @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children a5f27f25fa52
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/downloads/urls.py	Mon Apr 06 02:43:12 2009 +0000
@@ -0,0 +1,21 @@
+"""
+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'^comments/(\d+)/$', 'comments', name='downloads-comments'),
+    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'),
+)