Mercurial > public > sg101
comparison gpp/weblinks/urls.py @ 165:952e05cb3d80
Implement #49; use POST for updating link hit counts. Also refactored a bit and use javascript to report broken links.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 03 Jan 2010 04:15:14 +0000 |
parents | c0d0779b266f |
children | 7e8d2dda99e3 |
comparison
equal
deleted
inserted
replaced
164:f7a6b8fe4556 | 165:952e05cb3d80 |
---|---|
13 name='weblinks-link_detail'), | 13 name='weblinks-link_detail'), |
14 (r'^new/$', 'new_links'), | 14 (r'^new/$', 'new_links'), |
15 (r'^popular/$', 'popular_links'), | 15 (r'^popular/$', 'popular_links'), |
16 (r'^random/$', 'random_link'), | 16 (r'^random/$', 'random_link'), |
17 (r'^report/(\d+)/$', 'report_link'), | 17 (r'^report/(\d+)/$', 'report_link'), |
18 (r'^report/thanks/(\d+)$', 'report_thanks'), | |
19 url(r'^search/page/(?P<page>\d+)/$', | 18 url(r'^search/page/(?P<page>\d+)/$', |
20 'search_links', | 19 'search_links', |
21 name="weblinks-search"), | 20 name="weblinks-search"), |
22 (r'^visit/(\d+)/$', 'visit'), | 21 url(r'^visit/(\d+)/$', 'visit', name="weblinks-visit"), |
23 ) | 22 ) |