annotate gpp/messages/urls.py @ 432:ca744075e7b7
For #211; limit private message sizes to 8K.
author |
Brian Neal <bgneal@gmail.com> |
date |
Fri, 06 May 2011 01:41:21 +0000 |
parents |
d0f0800eef0c |
children |
33d0c55e57a9 |
rev |
line source |
gremmie@1
|
1 """urls for the Messages application"""
|
gremmie@1
|
2 from django.conf.urls.defaults import *
|
bgneal@425
|
3
|
gremmie@1
|
4 urlpatterns = patterns('messages.views',
|
bgneal@429
|
5 url(r'^$',
|
bgneal@429
|
6 'index',
|
bgneal@429
|
7 name='messages-index'),
|
bgneal@429
|
8 url(r'^(inbox|compose|outbox|trash|options)/$',
|
bgneal@429
|
9 'index',
|
bgneal@429
|
10 name='messages-index_named'),
|
bgneal@429
|
11 url(r'^compose/([\w.@+-]{1,30})/$',
|
bgneal@429
|
12 'compose_to',
|
bgneal@429
|
13 name='messages-compose_to'),
|
bgneal@429
|
14 url(r'^inbox-tab/$',
|
bgneal@429
|
15 'inbox',
|
bgneal@429
|
16 name='messages-inbox'),
|
bgneal@429
|
17 url(r'^outbox-tab/$',
|
bgneal@429
|
18 'outbox',
|
bgneal@429
|
19 name='messages-outbox'),
|
bgneal@429
|
20 url(r'^trash-tab/$',
|
bgneal@429
|
21 'trash',
|
bgneal@429
|
22 name='messages-trash'),
|
bgneal@429
|
23 url(r'^message/$',
|
bgneal@429
|
24 'message',
|
bgneal@429
|
25 name='messages-message'),
|
bgneal@429
|
26 url(r'^options-tab/$',
|
bgneal@429
|
27 'options',
|
bgneal@429
|
28 name='messages-options'),
|
bgneal@429
|
29 url(r'^compose-tab/$',
|
bgneal@429
|
30 'compose',
|
bgneal@429
|
31 name='messages-compose'),
|
bgneal@429
|
32 url(r'^bulk/$',
|
bgneal@429
|
33 'bulk',
|
bgneal@429
|
34 name='messages-bulk'),
|
gremmie@1
|
35 )
|