From f2e39f24c87c2d1c0c7a97e089164b4728fc155e Mon Sep 17 00:00:00 2001 From: guanghongwei Date: Wed, 1 Oct 2014 21:09:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=80=B5=E5=97=99=E7=88=9C=E5=A8=8C=E2=84=83?= =?UTF-8?q?=E6=B9=81=E6=A6=9B=E6=A8=BF=EE=85=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webroot/AutoSa/AutoSa/views.py | 1 + webroot/AutoSa/templates/chgKey.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/webroot/AutoSa/AutoSa/views.py b/webroot/AutoSa/AutoSa/views.py index f8a8274f6..c39724a26 100644 --- a/webroot/AutoSa/AutoSa/views.py +++ b/webroot/AutoSa/AutoSa/views.py @@ -221,6 +221,7 @@ def install(request): return HttpResponseRedirect('/login/') else: u = User( + id=700, username='admin', password=md5_crypt('admin'), key_pass=md5_crypt('admin'), diff --git a/webroot/AutoSa/templates/chgKey.html b/webroot/AutoSa/templates/chgKey.html index 27c302002..f006614cb 100644 --- a/webroot/AutoSa/templates/chgKey.html +++ b/webroot/AutoSa/templates/chgKey.html @@ -16,7 +16,7 @@
- +
{% if is_self %}