diff options
author | katkamrachana <katkam.rachana@gmail.com> | 2015-04-01 15:53:13 +0530 |
---|---|---|
committer | katkamrachana <katkam.rachana@gmail.com> | 2015-04-01 15:53:13 +0530 |
commit | 2155057a7ad464b9a60a65cb2deedb248e94e8c5 (patch) | |
tree | d69e661a2669c66b6cac324e351c53c1c6d148b7 /gnowsys-ndf/gnowsys_ndf/ndf/urls | |
parent | 943872be5f8710dc8e80fb617ac13101e3372a96 (diff) | |
parent | a9bfe48300d14a251b385df87454232ced58922a (diff) | |
download | gnowsys-2155057a7ad464b9a60a65cb2deedb248e94e8c5.tar.gz |
Conflicts resolved with 1113 in course.html
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py | 6 | ||||
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/e-book.py | 5 | ||||
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py | 2 | ||||
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/partner.py | 6 |
4 files changed, 17 insertions, 2 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py index 7d2726d..3da4907 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py @@ -45,6 +45,7 @@ urlpatterns = patterns('', (r'^(?P<group_id>[^/]+)/video', include('gnowsys_ndf.ndf.urls.video')), (r'^(?P<group_id>[^/]+)/page', include('gnowsys_ndf.ndf.urls.page')), (r'^(?P<group_id>[^/]+)/group', include('gnowsys_ndf.ndf.urls.group')), + (r'^(?P<group_id>[^/]+)/partner', include('gnowsys_ndf.ndf.urls.partner')), (r'^(?P<group_id>[^/]+)/forum', include('gnowsys_ndf.ndf.urls.forum')), (r'^(?P<group_id>[^/]+)/quiz', include('gnowsys_ndf.ndf.urls.quiz')), (r'^(?P<group_id>[^/]+)/course', include('gnowsys_ndf.ndf.urls.course')), @@ -59,6 +60,7 @@ urlpatterns = patterns('', (r'^(?P<group_id>[^/]+)/ratings', include('gnowsys_ndf.ndf.urls.ratings')), (r'^(?P<group_id>[^/]+)/topics', include('gnowsys_ndf.ndf.urls.topics')), (r'^(?P<group_id>[^/]+)/e-library', include('gnowsys_ndf.ndf.urls.e-library')), + (r'^(?P<group_id>[^/]+)/e-book', include('gnowsys_ndf.ndf.urls.e-book')), (r'^(?P<group_id>[^/]+)/term', include('gnowsys_ndf.ndf.urls.term')), (r'^(?P<group_id>[^/]+)/event', include('gnowsys_ndf.ndf.urls.event')), (r'^(?P<group_id>[^/]+)/data-review', include('gnowsys_ndf.ndf.urls.data_review')), @@ -100,7 +102,9 @@ urlpatterns = patterns('', url(r'^(?P<group_id>[^/]+)/visualize', include('gnowsys_ndf.ndf.urls.visualise_urls')), url(r'^(?P<group_id>[^/]+)/$', 'gnowsys_ndf.ndf.views.group.group_dashboard', name='groupchange'), - + # ---listing sub partners--- + url(r'^(?P<group_id>[^/]+)/partners$', 'gnowsys_ndf.ndf.views.partner.partner_list', name='partnerlist'), + # --------end of listing sub partners-------- # -- tags -- url(r'^(?P<group_id>[^/]+)/tags$', 'gnowsys_ndf.ndf.views.methods.tag_info', name='tag_info'), url(r'^(?P<group_id>[^/]+)/tags/(?P<tagname>[^/]+)$', 'gnowsys_ndf.ndf.views.methods.tag_info', name='tag_info'), diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/e-book.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/e-book.py new file mode 100644 index 0000000..3370118 --- /dev/null +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/e-book.py @@ -0,0 +1,5 @@ +from django.conf.urls import patterns, url + +urlpatterns = patterns('gnowsys_ndf.ndf.views.e-book', + url(r'^[/]$', 'ebook_listing', name='e-book'), + ) diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py index d4ec1b5..fe7803a 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py @@ -9,7 +9,7 @@ urlpatterns = patterns('gnowsys_ndf.ndf.views.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<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'), ) diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/partner.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/partner.py new file mode 100644 index 0000000..03cdcd1 --- /dev/null +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/partner.py @@ -0,0 +1,6 @@ +from django.conf.urls import patterns, url + +urlpatterns = patterns('gnowsys_ndf.ndf.views.partner', + url(r'^/create_partner/', 'create_partner', name='create_partner'), + url(r'^/(?P<groups_category>[\w-]+)', 'nroer_groups', name='nroer_groups'), + ) |