annotate gpp/weblinks/urls.py @ 171:b1766b1bda45

Add rss news feed link on home page. Add rss news feed image and link on news home.
author Brian Neal <bgneal@gmail.com>
date Fri, 12 Feb 2010 04:24:47 +0000
parents 952e05cb3d80
children 7e8d2dda99e3
rev   line source
gremmie@1 1 """urls for the weblinks application"""
gremmie@1 2 from django.conf.urls.defaults import *
gremmie@1 3
gremmie@1 4 urlpatterns = patterns('weblinks.views',
gremmie@1 5 url(r'^$', 'link_index', name='weblinks-main'),
gremmie@1 6 (r'^add/$', 'add_link'),
gremmie@1 7 (r'^add/thanks/$', 'add_thanks'),
gremmie@1 8 url(r'^category/(?P<category>\d+)/(?P<sort>title|date|rating|hits)/page/(?P<page>\d+)/$',
gremmie@1 9 'view_links',
gremmie@1 10 name='weblinks-view_links'),
bgneal@20 11 url(r'^detail/(\d+)/$',
bgneal@20 12 'link_detail',
bgneal@20 13 name='weblinks-link_detail'),
gremmie@1 14 (r'^new/$', 'new_links'),
gremmie@1 15 (r'^popular/$', 'popular_links'),
gremmie@1 16 (r'^random/$', 'random_link'),
gremmie@1 17 (r'^report/(\d+)/$', 'report_link'),
gremmie@1 18 url(r'^search/page/(?P<page>\d+)/$',
gremmie@1 19 'search_links',
gremmie@1 20 name="weblinks-search"),
bgneal@165 21 url(r'^visit/(\d+)/$', 'visit', name="weblinks-visit"),
gremmie@1 22 )