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 @@