From f3ae7f00a0a2c5d7b7b05223f30af59ef64eeb1f Mon Sep 17 00:00:00 2001 From: guanghongwei Date: Sat, 14 Mar 2015 23:57:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E8=BF=99=E6=A0=B7=E5=90=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- juser/urls.py | 3 +- juser/views.py | 23 ++++------ templates/juser/dept_list.html | 2 +- templates/juser/user_list.html | 2 +- templates/paginator_new..html | 84 ++++++++++++++++++++++++++++++++++ 5 files changed, 97 insertions(+), 17 deletions(-) create mode 100644 templates/paginator_new..html diff --git a/juser/urls.py b/juser/urls.py index 1a5f78dc3..81ac8d67e 100644 --- a/juser/urls.py +++ b/juser/urls.py @@ -7,7 +7,6 @@ urlpatterns = patterns('juser.views', # url(r'^$', 'jumpserver.views.home', name='home'), # url(r'^blog/', include('blog.urls')), - (r'^dept_list/$', 'dept_list'), (r'^dept_add/$', 'dept_add'), (r'^dept_del/$', 'dept_del'), @@ -21,7 +20,7 @@ urlpatterns = patterns('juser.views', (r'^group_del_ajax/$', 'group_del_ajax'), (r'^group_edit/$', 'group_edit'), (r'^user_add/$', 'user_add'), - (r'^user_list/(?P