diff options
author | Avadoot Nachankar <avadoot298@gmail.com> | 2015-03-03 19:05:15 +0530 |
---|---|---|
committer | Avadoot Nachankar <avadoot298@gmail.com> | 2015-03-03 19:05:15 +0530 |
commit | 26f1039ab6d08fea41e0fe1116aa945bf1ce3fe5 (patch) | |
tree | 89e6ae5f31069c8c0a4952487edd76fe84399e5a /gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py | |
parent | a9d17e7fd7678626dc3096ff9f92ff379406c642 (diff) | |
download | gnowsys-26f1039ab6d08fea41e0fe1116aa945bf1ce3fe5.tar.gz |
Regex code added to support urls either ending with trailing slash or without trailing slash.
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py b/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py index 0c47ad9..d4ec1b5 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py +++ b/gnowsys-ndf/gnowsys_ndf/ndf/urls/group.py @@ -1,7 +1,7 @@ from django.conf.urls import patterns, url urlpatterns = patterns('gnowsys_ndf.ndf.views.group', - url(r'^$', 'group', name='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'), |