From 3fa5ce5404bdee95ead07e1cc40ff3b50aefd10a Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 30 Mar 2017 16:28:00 +0800 Subject: [PATCH] =?UTF-8?q?[Fixture]=20=E6=B7=BB=E5=8A=A0=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BF=A1=E6=81=AF=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/templates/_user_profile.html | 2 +- apps/users/forms.py | 80 +++++++++++++---- apps/users/models/user.py | 9 +- .../templates/users/user_password_update.html | 75 ++++++++++++++++ apps/users/templates/users/user_profile.html | 38 ++++---- .../templates/users/user_profile_update.html | 11 ++- .../templates/users/user_pubkey_update.html | 86 +++++++++++++++++++ apps/users/urls/views_urls.py | 6 ++ apps/users/views/login.py | 2 +- apps/users/views/user.py | 51 +++++++++-- 10 files changed, 306 insertions(+), 54 deletions(-) create mode 100644 apps/users/templates/users/user_password_update.html create mode 100644 apps/users/templates/users/user_pubkey_update.html diff --git a/apps/templates/_user_profile.html b/apps/templates/_user_profile.html index 4b493fd95..0e6e2c8f1 100644 --- a/apps/templates/_user_profile.html +++ b/apps/templates/_user_profile.html @@ -3,7 +3,7 @@