Mercurial > public > sg101
comparison gpp/shoutbox/urls.py @ 13:777451a98f9d
Shoutbox work: shouts now have absolute URLs. Shouts can now be flagged as abuse. Minor tweak to breadcrumbs css. Added flag date to comments admin.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 16 Apr 2009 02:00:17 +0000 |
parents | dbd703f7d63a |
children | 7ddd60164245 |
comparison
equal
deleted
inserted
replaced
12:f408971657b9 | 13:777451a98f9d |
---|---|
5 from django.conf.urls.defaults import * | 5 from django.conf.urls.defaults import * |
6 | 6 |
7 urlpatterns = patterns('shoutbox.views', | 7 urlpatterns = patterns('shoutbox.views', |
8 url(r'^delete/$', 'delete', name='shoutbox-delete'), | 8 url(r'^delete/$', 'delete', name='shoutbox-delete'), |
9 url(r'^edit/$', 'edit', name='shoutbox-edit'), | 9 url(r'^edit/$', 'edit', name='shoutbox-edit'), |
10 url(r'^flag/$', 'flag', name='shoutbox-flag'), | |
10 url(r'^shout/$', 'shout', name='shoutbox-shout'), | 11 url(r'^shout/$', 'shout', name='shoutbox-shout'), |
11 url(r'^text/$', 'text', name='shoutbox-text'), | 12 url(r'^text/$', 'text', name='shoutbox-text'), |
12 url(r'^view/(?P<page>\d+)/$', 'view', name='shoutbox-view'), | 13 url(r'^view/(\d+)/$', 'view_shout', name='shoutbox-view'), |
14 url(r'^view/history/(?P<page>\d+)/$', 'view_history', name='shoutbox-history'), | |
13 ) | 15 ) |
16 | |
17 # vim: ts=4 sw=4 |