annotate shoutbox/urls.py @ 591:1982996ce365
Created a "fixed page" facility.
Reworked the last few commits. We now generate HTML snippets from
restructured text files. These are {% include'd %} by a fixed
page template. This is for bitbucket issue #8.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sat, 12 May 2012 14:57:45 -0500 |
parents |
ee87ea74d46b |
children |
5ba2508939f7 |
rev |
line source |
gremmie@1
|
1 """
|
gremmie@1
|
2 Urls for the Shoutbox application.
|
gremmie@1
|
3 """
|
gremmie@1
|
4
|
bgneal@574
|
5 from django.conf.urls import patterns, url
|
gremmie@1
|
6
|
gremmie@1
|
7 urlpatterns = patterns('shoutbox.views',
|
gremmie@1
|
8 url(r'^delete/$', 'delete', name='shoutbox-delete'),
|
gremmie@1
|
9 url(r'^edit/$', 'edit', name='shoutbox-edit'),
|
bgneal@13
|
10 url(r'^flag/$', 'flag', name='shoutbox-flag'),
|
gremmie@1
|
11 url(r'^shout/$', 'shout', name='shoutbox-shout'),
|
gremmie@1
|
12 url(r'^text/$', 'text', name='shoutbox-text'),
|
bgneal@13
|
13 url(r'^view/(\d+)/$', 'view_shout', name='shoutbox-view'),
|
bgneal@243
|
14 url(r'^view/history/$', 'view_history', name='shoutbox-history'),
|
gremmie@1
|
15 )
|