diff options
author | katkamrachana <katkam.rachana@gmail.com> | 2015-06-22 22:41:48 +0530 |
---|---|---|
committer | katkamrachana <katkam.rachana@gmail.com> | 2015-06-22 22:41:48 +0530 |
commit | 9793552c73420a3bc7e599de6039e2c3307ad5c8 (patch) | |
tree | a8822494d39de32b2283dffdb635d8ade96919c8 /gnowsys-ndf/gnowsys_ndf/ndf/urls | |
parent | 4d5209d099a23720a0358f416dc09ab18d709d7b (diff) | |
parent | 75183a74a922066c63a518dac856fe3b2df2a37a (diff) | |
download | gnowsys-9793552c73420a3bc7e599de6039e2c3307ad5c8.tar.gz |
Merge branch 'mongokit' of https://github.com/gnowledge/gstudio into mongokit
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py index fe7803a..0b82cc3 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py @@ -1,11 +1,12 @@ from django.conf.urls import patterns, url +from gnowsys_ndf.ndf.views.group import GroupCreateEditHandler urlpatterns = patterns('gnowsys_ndf.ndf.views.group', url(r'^[/]$', 'group', name='group'), url(r'^/(?P<app_id>[\w-]+)$', 'group', name='group'), - url(r'^/create_group/', 'create_group', name='create_group'), + url(r'^/create_group/', GroupCreateEditHandler.as_view(), {'action': 'create'}, name='create_group'), + url(r'^/edit_group/', GroupCreateEditHandler.as_view(), {'action': 'edit'}, name='edit_group'), url(r'^/group_publish/(?P<node>[\w-]+)$', 'publish_group', name='publish_group'), - url(r'^/edit_group/', 'edit_group', name='edit_group'), url(r'^/switch_group/(?P<node_id>[\w-]+)$', 'switch_group', name='switch_group'), url(r'^/app_selection/', 'app_selection', name='app_selection'), url(r'^/create_sub_group/', 'create_sub_group', name='create_sub_group'), |