comparison gpp/messages/urls.py @ 149:ab7830b067b3

Implement ticket #40. Added a simple way to search for usernames and then view their profile. Moved this ajax username search feature out of the messages app and into core.
author Brian Neal <bgneal@gmail.com>
date Mon, 14 Dec 2009 05:07:28 +0000
parents dbd703f7d63a
children 0dd8989abef2
comparison
equal deleted inserted replaced
148:35a0e6345815 149:ab7830b067b3
12 url(r'^delete/$', 'delete_bulk', name='messages-delete_bulk'), 12 url(r'^delete/$', 'delete_bulk', name='messages-delete_bulk'),
13 url(r'^delete/(\d+)/$', 'delete', name='messages-delete'), 13 url(r'^delete/(\d+)/$', 'delete', name='messages-delete'),
14 url(r'^undelete/$', 'undelete_bulk', name='messages-undelete_bulk'), 14 url(r'^undelete/$', 'undelete_bulk', name='messages-undelete_bulk'),
15 url(r'^undelete/(\d+)/$', 'undelete', name='messages-undelete'), 15 url(r'^undelete/(\d+)/$', 'undelete', name='messages-undelete'),
16 url(r'^options/$', 'options', name='messages-options'), 16 url(r'^options/$', 'options', name='messages-options'),
17 url(r'^ajax/users/$', 'ajax_users', name='messages-ajax_users'),
18 ) 17 )
19 18
20 urlpatterns += patterns('django.views.generic.simple', 19 urlpatterns += patterns('django.views.generic.simple',
21 (r'^$', 'redirect_to', {'url': 'inbox/'}), 20 (r'^$', 'redirect_to', {'url': 'inbox/'}),
22 ) 21 )