view gpp/shoutbox/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 777451a98f9d
children 7ddd60164245
line wrap: on
line source
"""
Urls for the Shoutbox application.
"""

from django.conf.urls.defaults import *

urlpatterns = patterns('shoutbox.views',
    url(r'^delete/$', 'delete', name='shoutbox-delete'),
    url(r'^edit/$', 'edit', name='shoutbox-edit'),
    url(r'^flag/$', 'flag', name='shoutbox-flag'),
    url(r'^shout/$', 'shout', name='shoutbox-shout'),
    url(r'^text/$', 'text', name='shoutbox-text'),
    url(r'^view/(\d+)/$', 'view_shout', name='shoutbox-view'),
    url(r'^view/history/(?P<page>\d+)/$', 'view_history', name='shoutbox-history'),
)

# vim: ts=4 sw=4