annotate shoutbox/urls.py @ 1201:fe10aea76cbd
tip
Add 2023 MP3 compilation links
author |
Brian Neal <bgneal@gmail.com> |
date |
Sun, 24 Mar 2024 14:50:23 -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 ]
|