From a0e80623cfdbb7ac62015059ddf6227ccef0369a Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Thu, 8 Nov 2018 14:18:24 +0100 Subject: [PATCH] Add the possibility for users to change their own password This functionality required to add a settings panel. --- navbar/templates/navbar/navbar.html | 1 + neluser/forms.py | 28 ++++++++++++++ neluser/locale/en/LC_MESSAGES/django.po | 31 ++++++++++++++- neluser/locale/fr/LC_MESSAGES/django.po | 31 ++++++++++++++- neluser/templates/neluser/settings/base.html | 13 +++++++ .../neluser/settings/security/base.html | 5 +++ .../neluser/settings/security/password.html | 13 +++++++ neluser/templates/neluser/settings/tab.html | 5 +++ neluser/urls.py | 23 ++++++----- neluser/views.py | 38 +++++++++++++++++-- 10 files changed, 170 insertions(+), 18 deletions(-) create mode 100644 neluser/templates/neluser/settings/base.html create mode 100644 neluser/templates/neluser/settings/security/base.html create mode 100644 neluser/templates/neluser/settings/security/password.html create mode 100644 neluser/templates/neluser/settings/tab.html diff --git a/navbar/templates/navbar/navbar.html b/navbar/templates/navbar/navbar.html index 7e07f9c..93bb9c5 100644 --- a/navbar/templates/navbar/navbar.html +++ b/navbar/templates/navbar/navbar.html @@ -41,6 +41,7 @@