1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
"""url configuration for the group_messaging application"""
from django.conf.urls.defaults import patterns
from django.conf.urls.defaults import url
from group_messaging import views
urlpatterns = patterns('',
url(
'^threads/$',
views.ThreadsList().as_view(),
name='get_threads'
),
url(
'^threads/(?P<thread_id>\d+)/$',
views.ThreadDetails().as_view(),
name='thread_details'
),
url(
'^threads/create/$',
views.NewThread().as_view(),
name='create_thread'
),
url(
'^senders/$',
views.SendersList().as_view(),
name='get_senders'
),
url(
'^post-reply/$',
views.PostReply().as_view(),
name='post_reply'
)
)
|