From c4d7d4f6bf7adc587fdef9b47e92cce74369bc7e Mon Sep 17 00:00:00 2001 From: Vivek P Prakash Date: Fri, 28 Nov 2025 16:03:23 +0530 Subject: [PATCH] Solving the issues in the login and others --- .idea/workspace.xml | 315 +++++++++++++++++++--------------- accounts/forms.py | 37 ++-- accounts/views.py | 32 ++++ eventify/settings.py | 5 +- eventify/urls.py | 8 +- requirements_1.txt | 189 ++++++++++++++++++++ templates/accounts/login.html | 86 +++++----- 7 files changed, 461 insertions(+), 211 deletions(-) create mode 100644 requirements_1.txt diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ec1318b..e35e137 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,23 +2,12 @@ - - - - - - - - - - - + + + - - - - + - - + + @@ -40,11 +29,22 @@ + + + + + + + + + + + - - + + @@ -55,64 +55,17 @@ - - + + - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -121,10 +74,45 @@ - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -151,15 +139,18 @@ @@ -186,7 +177,17 @@ - + + + + + + + + + + + - {{ form.username.errors }} - + {% if messages %} + {% for message in messages %} +
{{ message }}
+ {% endfor %} + {% endif %} - -
- - - {{ form.password.errors }} -
+
+ {% csrf_token %} - -
+
+ {{ form.username.label_tag }} + {{ form.username }} + {% for error in form.username.errors %} + {{ error }} + {% endfor %} +
+ +
+ {{ form.password.label_tag }} + {{ form.password }} + {% for error in form.password.errors %} + {{ error }} + {% endfor %} +
+ + + + + - - - -{% endblock %} + +