From 62380a09ac15826d3cd4dbf7f829b32a2c9d0082 Mon Sep 17 00:00:00 2001 From: lhark Date: Sat, 2 Jul 2016 02:07:50 +0200 Subject: [PATCH] Namespacing now handled by root urls.py --- users/urls.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/users/urls.py b/users/urls.py index 6b0542a8..4a770010 100644 --- a/users/urls.py +++ b/users/urls.py @@ -3,11 +3,12 @@ from django.conf.urls import url from . import views urlpatterns = [ - url(r'^new_user/$', views.new_user, name='users-new-user'), - url(r'^edit_info/(?P[0-9]+)$', views.edit_info, name='users-edit-info'), - url(r'^state/(?P[0-9]+)$', views.state, name='users-state'), - url(r'^password/(?P[0-9]+)$', views.password, name='users-password'), - url(r'^$', views.index, name='users-index'), + url(r'^new_user/$', views.new_user, name='new-user'), + url(r'^edit_info/(?P[0-9]+)$', views.edit_info, name='edit-info'), + url(r'^state/(?P[0-9]+)$', views.state, name='state'), + url(r'^password/(?P[0-9]+)$', views.password, name='password'), + url(r'^add_right/$', views.add_right, name='add-right'), + url(r'^$', views.index, name='index'), ]