From 0e16e938af1b7c76fad0774fe70f5df16310296c Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Sat, 5 Sep 2020 16:57:46 +0200 Subject: better signup form errors --- accounts/templates/accounts/signup.html | 7 ++-- accounts/views.py | 57 +++++++++++++++++++++++++-------- client/templates/client/index.html | 2 +- templates/registration/base_simple.html | 4 +++ 4 files changed, 53 insertions(+), 17 deletions(-) diff --git a/accounts/templates/accounts/signup.html b/accounts/templates/accounts/signup.html index 0decf9e..36ea568 100644 --- a/accounts/templates/accounts/signup.html +++ b/accounts/templates/accounts/signup.html @@ -11,6 +11,7 @@
{% csrf_token %} {{ form.as_p }} +

La password deve essere di almeno 8 caretteri e contenere lettere