view gpp/shoutbox/urls.py @ 523:e9c446a64423

Was catching redis.RedisError exception, but already had local variable called redis. This seemed to work in development, but failed on Python 2.5.
author Brian Neal <bgneal@gmail.com>
date Sun, 18 Dec 2011 23:55:53 +0000
parents 7ddd60164245
children ddd69a8e07c7
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/$', 'view_history', name='shoutbox-history'),
)