annotate shoutbox/urls.py @ 1035:eeaf387803c6
Remove usages of @models.permalink.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sat, 26 Dec 2015 21:33:55 -0600 |
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 ]
|