From bd154bd31976f0aba7b28be87145f23d96bca4e6 Mon Sep 17 00:00:00 2001 From: joel Ngahu Date: Tue, 14 May 2019 15:56:00 +0300 Subject: [PATCH] Remove the required fields in the user model. --- accounts/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/models.py b/accounts/models.py index e8be148..2a47f56 100644 --- a/accounts/models.py +++ b/accounts/models.py @@ -108,7 +108,7 @@ class User(AbstractBaseUser): # notice the absence of a "Password field", that's built in. USERNAME_FIELD = 'phone_number' - REQUIRED_FIELDS = [''] + # REQUIRED_FIELDS = [''] objects = UserManager()