Mercurial > public > sg101
diff 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 |
line wrap: on
line diff
--- a/gpp/weblinks/urls.py Mon Dec 28 16:52:42 2009 +0000 +++ b/gpp/weblinks/urls.py Sun Jan 03 04:15:14 2010 +0000 @@ -15,9 +15,8 @@ (r'^popular/$', 'popular_links'), (r'^random/$', 'random_link'), (r'^report/(\d+)/$', 'report_link'), - (r'^report/thanks/(\d+)$', 'report_thanks'), url(r'^search/page/(?P<page>\d+)/$', 'search_links', name="weblinks-search"), - (r'^visit/(\d+)/$', 'visit'), + url(r'^visit/(\d+)/$', 'visit', name="weblinks-visit"), )