From ee6d7c26a1983647281261a6cdedf5e7299144f5 Mon Sep 17 00:00:00 2001 From: James Ravenscroft Date: Fri, 20 Dec 2024 09:14:21 +0000 Subject: [PATCH] correct the required fields for user object --- penparse/webui/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/penparse/webui/models.py b/penparse/webui/models.py index 1d3e493..a3e13e6 100644 --- a/penparse/webui/models.py +++ b/penparse/webui/models.py @@ -86,7 +86,7 @@ class User(AbstractUser): last_name = models.CharField(max_length=150, blank=False) USERNAME_FIELD = "email" - REQUIRED_FIELDS = ["full_name"] + REQUIRED_FIELDS = ["first_name", "last_name"] objects = UserManager() # type: ignore