diff options
author | SaiEswarEpuri <saieswar36@gmail.com> | 2015-06-22 19:53:36 +0530 |
---|---|---|
committer | SaiEswarEpuri <saieswar36@gmail.com> | 2015-06-22 19:53:36 +0530 |
commit | c6b302c095c496dbb15e646ad992168ce919ae05 (patch) | |
tree | 4a5d30028f283e2d9d4aae68b3e4c73f4b162701 /gnowsys-ndf/gnowsys_ndf/ndf/urls | |
parent | cc7ad3ea3250dc632add965a50df62ba366d9e1e (diff) | |
parent | 75183a74a922066c63a518dac856fe3b2df2a37a (diff) | |
download | gnowsys-c6b302c095c496dbb15e646ad992168ce919ae05.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'), |