From 8594574ebe119023de0ccf17aca06bf2ca77f811 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 14 Apr 2021 11:02:06 +0200 Subject: [PATCH] Remove display_name as required field from User --- localauth/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/localauth/models.py b/localauth/models.py index 28fe5a3..186d9bc 100644 --- a/localauth/models.py +++ b/localauth/models.py @@ -46,7 +46,6 @@ class User(AbstractBaseUser): objects = UserManager() USERNAME_FIELD = 'email' - REQUIRED_FIELDS = ['display_name'] def get_full_name(self): return self.email