annotate shoutbox/urls.py @ 1028:5ba2508939f7
Django 1.8 changes; first batch.
author |
Brian Neal <bgneal@gmail.com> |
date |
Tue, 15 Dec 2015 21:01:07 -0600 |
parents |
ee87ea74d46b |
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 ]
|