diff --git a/apps/users/urls.py b/apps/users/urls.py index 129debc75..27f159f1c 100644 --- a/apps/users/urls.py +++ b/apps/users/urls.py @@ -15,16 +15,16 @@ urlpatterns = [ views.UserForgetPasswordSendmailSuccessView.as_view(), name='forget-password-sendmail-success'), url(r'^password/reset$', views.UserResetPasswordView.as_view(), name='reset-password'), url(r'^password/reset/success$', views.UserResetPasswordSuccessView.as_view(), name='reset-password-success'), - url(r'^users$', views.UserListView.as_view(), name='user-list'), - url(r'^users/(?P[0-9]+)$', views.UserDetailView.as_view(), name='user-detail'), - url(r'^users/add$', views.UserAddView.as_view(), name='user-add'), - url(r'^users/(?P[0-9]+)/edit$', views.UserUpdateView.as_view(), name='user-edit'), - url(r'^users/(?P[0-9]+)/delete$', views.UserDeleteView.as_view(), name='user-delete'), - url(r'^usergroups$', views.UserGroupListView.as_view(), name='usergroup-list'), - url(r'^usergroups/(?P[0-9]+)$', views.UserGroupDetailView.as_view(), name='usergroup-detail'), - url(r'^usergroups/add/$', views.UserGroupAddView.as_view(), name='usergroup-add'), - url(r'^usergroups/(?P[0-9]+)/edit$', views.UserGroupUpdateView.as_view(), name='usergroup-edit'), - url(r'^usergroups/(?P[0-9]+)/delete$', views.UserGroupDeleteView.as_view(), name='usergroup-delete'), + url(r'^user$', views.UserListView.as_view(), name='user-list'), + url(r'^user/(?P[0-9]+)$', views.UserDetailView.as_view(), name='user-detail'), + url(r'^user/add$', views.UserAddView.as_view(), name='user-add'), + url(r'^user/(?P[0-9]+)/edit$', views.UserUpdateView.as_view(), name='user-edit'), + url(r'^user/(?P[0-9]+)/delete$', views.UserDeleteView.as_view(), name='user-delete'), + url(r'^usergroup$', views.UserGroupListView.as_view(), name='usergroup-list'), + url(r'^usergroup/(?P[0-9]+)$', views.UserGroupDetailView.as_view(), name='usergroup-detail'), + url(r'^usergroup/add/$', views.UserGroupAddView.as_view(), name='usergroup-add'), + url(r'^usergroup/(?P[0-9]+)/edit$', views.UserGroupUpdateView.as_view(), name='usergroup-edit'), + url(r'^usergroup/(?P[0-9]+)/delete$', views.UserGroupDeleteView.as_view(), name='usergroup-delete'), ]