From c840ed8c7cff94c2cc9474327fa540d663076126 Mon Sep 17 00:00:00 2001 From: Bryce Willey Date: Fri, 13 Feb 2026 13:25:24 -0500 Subject: [PATCH] Fix issues on registration screen Back button not working and error involving the User Model --- efile_app/efile/forms.py | 4 +++- efile_app/efile/templates/efile/login.html | 1 + efile_app/efile/templates/efile/register.html | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/efile_app/efile/forms.py b/efile_app/efile/forms.py index 9afe5f5..2567472 100644 --- a/efile_app/efile/forms.py +++ b/efile_app/efile/forms.py @@ -1,5 +1,7 @@ from django import forms -from django.contrib.auth.models import User +from django.contrib.auth import get_user_model + +User = get_user_model() class EFileLoginForm(forms.Form): diff --git a/efile_app/efile/templates/efile/login.html b/efile_app/efile/templates/efile/login.html index 9bf45b7..43a7aeb 100644 --- a/efile_app/efile/templates/efile/login.html +++ b/efile_app/efile/templates/efile/login.html @@ -16,6 +16,7 @@ +