comparison gpp/messages/urls.py @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children ab7830b067b3
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 """urls for the Messages application"""
2 from django.conf.urls.defaults import *
3
4 urlpatterns = patterns('messages.views',
5 url(r'^inbox/$', 'inbox', name='messages-inbox'),
6 url(r'^outbox/$', 'outbox', name='messages-outbox'),
7 url(r'^trash/$', 'trash', name='messages-trash'),
8 url(r'^view/(\d+)/$', 'view', name='messages-view'),
9 url(r'^reply/(\d+)/$', 'reply', name='messages-reply'),
10 url(r'^compose/$', 'compose', name='messages-compose'),
11 url(r'^compose/(\w+)/$', 'compose', name='messages-compose_to'),
12 url(r'^delete/$', 'delete_bulk', name='messages-delete_bulk'),
13 url(r'^delete/(\d+)/$', 'delete', name='messages-delete'),
14 url(r'^undelete/$', 'undelete_bulk', name='messages-undelete_bulk'),
15 url(r'^undelete/(\d+)/$', 'undelete', name='messages-undelete'),
16 url(r'^options/$', 'options', name='messages-options'),
17 url(r'^ajax/users/$', 'ajax_users', name='messages-ajax_users'),
18 )
19
20 urlpatterns += patterns('django.views.generic.simple',
21 (r'^$', 'redirect_to', {'url': 'inbox/'}),
22 )
23
24
25 # vim: ts=4 sw=4