Mercurial > public > sg101
annotate shoutbox/urls.py @ 1136:ba1df459f3a8
Upgrade redis to 2.10.5.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 13 Oct 2016 19:47:21 -0500 |
parents | 5ba2508939f7 |
children |
rev | line source |
---|---|
gremmie@1 | 1 """ |
gremmie@1 | 2 Urls for the Shoutbox application. |
gremmie@1 | 3 """ |
gremmie@1 | 4 |
bgneal@1028 | 5 from django.conf.urls import url |
gremmie@1 | 6 |
bgneal@1028 | 7 import shoutbox.views |
bgneal@1028 | 8 |
bgneal@1028 | 9 |
bgneal@1028 | 10 urlpatterns = [ |
bgneal@1028 | 11 url(r'^delete/$', shoutbox.views.delete, name='shoutbox-delete'), |
bgneal@1028 | 12 url(r'^edit/$', shoutbox.views.edit, name='shoutbox-edit'), |
bgneal@1028 | 13 url(r'^flag/$', shoutbox.views.flag, name='shoutbox-flag'), |
bgneal@1028 | 14 url(r'^shout/$', shoutbox.views.shout, name='shoutbox-shout'), |
bgneal@1028 | 15 url(r'^text/$', shoutbox.views.text, name='shoutbox-text'), |
bgneal@1028 | 16 url(r'^view/(\d+)/$', shoutbox.views.view_shout, name='shoutbox-view'), |
bgneal@1028 | 17 url(r'^view/history/$', shoutbox.views.view_history, name='shoutbox-history'), |
bgneal@1028 | 18 ] |