annotate gpp/shoutbox/urls.py @ 197:2baadae33f2e
Got autocomplete working for the member search. Updated django and ran into a bug where url tags with comma separated kwargs starting consuming tons of CPU throughput. The work-around is to cut over to using spaces between arguments. This is now allowed to be consistent with other tags. Did some query optimization for the news app.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sat, 10 Apr 2010 04:32:24 +0000 (2010-04-10) |
parents |
777451a98f9d |
children |
7ddd60164245 |
rev |
line source |
gremmie@1
|
1 """
|
gremmie@1
|
2 Urls for the Shoutbox application.
|
gremmie@1
|
3 """
|
gremmie@1
|
4
|
gremmie@1
|
5 from django.conf.urls.defaults import *
|
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@13
|
14 url(r'^view/history/(?P<page>\d+)/$', 'view_history', name='shoutbox-history'),
|
gremmie@1
|
15 )
|
bgneal@13
|
16
|
bgneal@13
|
17 # vim: ts=4 sw=4
|