From 64c155bede493a6dad1431b8550c9c8a560ee0fa Mon Sep 17 00:00:00 2001 From: ibuler Date: Mon, 5 Jan 2015 23:55:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0=E7=94=A8?= =?UTF-8?q?=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- juser/views.py | 5 +++-- templates/user_add.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/juser/views.py b/juser/views.py index 364115048..3c1c525f9 100644 --- a/juser/views.py +++ b/juser/views.py @@ -1,8 +1,9 @@ -from django.shortcuts import render +# coding: utf-8 + from django.shortcuts import render_to_response def user_add(request): - return render_to_response('user_add.html', {'path1': 'juser', 'path2': 'user_add'}) + return render_to_response('user_add.html', {'header_title': u'添加用户 | Add User', 'path1': 'juser', 'path2': 'user_add'}) diff --git a/templates/user_add.html b/templates/user_add.html index f7218eabc..0cdb0119e 100644 --- a/templates/user_add.html +++ b/templates/user_add.html @@ -7,7 +7,7 @@
-
添加用户 User add in jumpserver.
+
填写基本信息 Add user info.