annotate shoutbox/urls.py @ 1166:130ac1e98cf4
More V3 forums tweaking.
Adding attachments is working now.
Adding a post via ajax is working.
Still need to display attachments on posts.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sun, 20 Aug 2017 15:55:54 -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 ]
|