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 +++++++++++++++++++++++++-------- 2 files changed, 48 insertions(+), 16 deletions(-) (limited to 'accounts') 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