diff options
author | ashutosh <rjashutosh07@gmail.com> | 2015-02-05 19:21:19 +0530 |
---|---|---|
committer | ashutosh <rjashutosh07@gmail.com> | 2015-02-05 19:21:19 +0530 |
commit | b1ade8f7dd0b773b9bdf1545ea00fa634f5623ee (patch) | |
tree | 29a721336835afdbf1dd8e9720e4a5fb420f352b /gnowsys-ndf/gnowsys_ndf/ndf/urls | |
parent | 443a87da9729e65323d3e8d1b8bfaf3c18260b79 (diff) | |
parent | 1d7836b060eaec9ab6572946e06b15f6e427dcf4 (diff) | |
download | gnowsys-b1ade8f7dd0b773b9bdf1545ea00fa634f5623ee.tar.gz |
reversed two block and did changes in two queries
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py index cf978cb..44c0ef2 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/__init__.py @@ -57,19 +57,24 @@ urlpatterns = patterns('', (r'^(?P<group_id>[^/]+)/', include('gnowsys_ndf.ndf.urls.user')), (r'^(?P<group_id>[^/]+)/ratings', include('gnowsys_ndf.ndf.urls.ratings')), (r'^(?P<group_id>[^/]+)/topics', include('gnowsys_ndf.ndf.urls.topics')), - # django-json-rpc method calls + + # -- django-json-rpc method calls -- url(r'^json/browse/$', 'jsonrpc.views.browse', name='jsonrpc_browser'), url(r'^json/$', jsonrpc_site.dispatch, name='jsonrpc_mountpoint'), # url for directly calling RPC method from browser (r'^json/(?P<method>[a-zA-Z0-9.-_]+)$', jsonrpc_site.dispatch), + # ---end of django-json-rpc url(r'^(?P<group_id>[^/]+)/topic_details/(?P<app_Id>[\w-]+)', 'gnowsys_ndf.ndf.views.topics.topic_detail_view', name='topic_details'), (r'^(?P<group_id>[^/]+)/e-library', include('gnowsys_ndf.ndf.urls.e-library')), (r'^(?P<group_id>[^/]+)/term', include('gnowsys_ndf.ndf.urls.term')), - (r'^(?P<group_id>[^/]+)/mis', include('gnowsys_ndf.ndf.urls.mis', namespace='mis'), {'app_name': "MIS"}), (r'^(?P<group_id>[^/]+)/event', include('gnowsys_ndf.ndf.urls.event')), + + # -- mis -- + (r'^(?P<group_id>[^/]+)/mis', include('gnowsys_ndf.ndf.urls.mis', namespace='mis'), {'app_name': "MIS"}), (r'^(?P<group_id>[^/]+)/mis-po', include('gnowsys_ndf.ndf.urls.mis', namespace='mis-po'), {'app_name': "MIS-PO"}), + # ---end of mis # meeting app # (r'^online/', include('online_status.urls')), #for online_users. @@ -81,7 +86,7 @@ urlpatterns = patterns('', (r'^(?P<group_id>[^/]+)/data-review', include('gnowsys_ndf.ndf.urls.data_review')), (r'^(?P<group_id>[^/]+)/observation', include('gnowsys_ndf.ndf.urls.observation')), - (r'^(?P<group_id>[^/]+)/Observations', include('gnowsys_ndf.ndf.urls.observation')), + # (r'^(?P<group_id>[^/]+)/Observations', include('gnowsys_ndf.ndf.urls.observation')), # --discussion-- url(r'^(?P<group_id>[^/]+)/(?P<node_id>[^/]+)/create_discussion$', 'gnowsys_ndf.ndf.views.methods.create_discussion', name='create_discussion'), @@ -89,7 +94,6 @@ urlpatterns = patterns('', url(r'^(?P<group_id>[^/]+)/discussion_delete_reply$', 'gnowsys_ndf.ndf.views.methods.discussion_delete_reply', name='discussion_delete_reply'), # --end of discussion - #url(r'^(?P<group_id>[^/]+)/visualize', 'gnowsys_ndf.ndf.views.visualize.graphs', name='visualize'), 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'), @@ -99,12 +103,20 @@ urlpatterns = patterns('', 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'), + + # -- annotations -- + # url(r'^(?P<group_id>[^/]+)/annotationlibInSelText$', 'gnowsys_ndf.ndf.views.ajax_views.annotationlibInSelText', name='annotationlibInSelText'), + # url(r'^(?P<group_id>[^/]+)/delComment$', 'gnowsys_ndf.ndf.views.ajax_views.delComment', name='delComment'), + # ---end of annotations + # -- custom apps -- +# >>>>>>> 1d7836b060eaec9ab6572946e06b15f6e427dcf4 (r'^(?P<group_id>[^/]+)/(?P<app_name>[^/]+)', include('gnowsys_ndf.ndf.urls.custom_app')), # url(r'^(?P<group_id>[^/]+)/(?P<app_name>[^/]+)/(?P<app_id>[\w-]+)$', custom_app_view, name='GAPPS'), # url(r'^(?P<group_id>[^/]+)/(?P<app_name>[^/]+)/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)$', custom_app_view, name='GAPPS_set'), # url(r'^(?P<group_id>[^/]+)/(?P<app_name>[^/]+)/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/(?P<app_set_instance_id>[\w-]+)$', custom_app_view, name='GAPPS_set_instance'), # url(r'^(?P<group_id>[^/]+)/(?P<app_name>[^/]+)/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/(?P<app_set_instance_id>[\w-]+)/edit/$', custom_app_new_view, name='GAPPS_set_instance_edit'), # url(r'^(?P<group_id>[^/]+)/(?P<app_name>[^/]+)/(?P<app_id>[\w-]+)/(?P<app_set_id>[\w-]+)/new/$', custom_app_new_view, name='GAPPS_set_new_instance'), + # --- end of custom apps # (r'^home','gnowsys_ndf.ndf.views.group.group_dashboard'), # (r'^home/', 'gnowsys_ndf.ndf.views.home.homepage'), |