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
|
from django.conf.urls import patterns, url
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'^/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'),
url(r'^/(?P<groups_category>[\w-]+)/nroer_groups/?$', 'nroer_groups', name='nroer_groups'),
url(r'^/(?P<app_id>[\w-]+)/value/(?P<agency_type>[\w-]+)/?$', 'group', name='groups_by_agency_type'),
)
urlpatterns += patterns('gnowsys_ndf.ndf.views.ajax_views',
url(r'^/check_group/', 'checkgroup', name='check_group'),
)
urlpatterns += patterns('gnowsys_ndf.ndf.views.notify',
url(r'^/notify/join/$', 'notifyuser', name='notifyuser'),
url(r'^/notify/remove/$', 'notify_remove_user', name='notifyremuser'),
url(r'^/notify/invite_users/$', 'invite_users', name='sendinvitation'),
url(r'^/notify/invite_admins/$', 'invite_admins', name='admininvitations'),
)
|