From 8adb7e1b244d07e27d040d14e1cfd5e5280ce40b Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Wed, 19 Sep 2012 01:58:49 -0400 Subject: started building front end for private messaging --- group_messaging/urls.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 group_messaging/urls.py (limited to 'group_messaging/urls.py') diff --git a/group_messaging/urls.py b/group_messaging/urls.py new file mode 100644 index 00000000..eb033751 --- /dev/null +++ b/group_messaging/urls.py @@ -0,0 +1,22 @@ +"""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/create/$', + views.NewThread().as_view(), + name='create_thread' + ), + url( + '^senders/$', + views.SendersList().as_view(), + name='get_senders' + ) +) -- cgit v1.2.3-1-g7c22 From 74c55ff1382cc11eaa822bb0bf011ddd85797403 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 25 Sep 2012 04:43:25 -0400 Subject: private message navigation starts to work --- group_messaging/urls.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'group_messaging/urls.py') diff --git a/group_messaging/urls.py b/group_messaging/urls.py index eb033751..618ae1d5 100644 --- a/group_messaging/urls.py +++ b/group_messaging/urls.py @@ -9,6 +9,11 @@ urlpatterns = patterns('', views.ThreadsList().as_view(), name='get_threads' ), + url( + '^threads/(?P\d+)/$', + views.ThreadDetails().as_view(), + name='thread_details' + ), url( '^threads/create/$', views.NewThread().as_view(), -- cgit v1.2.3-1-g7c22