From fef5896a6d4b9f99c03d71ab0385655cdadf9a6e Mon Sep 17 00:00:00 2001 From: Chibuotu Amadi Date: Wed, 21 Nov 2018 00:31:56 +0100 Subject: [PATCH] remove address filled from signup --- apps/base/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/base/models.py b/apps/base/models.py index 01b02f5..a9fae4c 100644 --- a/apps/base/models.py +++ b/apps/base/models.py @@ -113,7 +113,7 @@ class User(AbstractBaseUser, PermissionsMixin): modified = models.DateTimeField(auto_now=True) date_joined = models.DateTimeField(auto_now_add=True) - REQUIRED_FIELDS = ['first_name', 'last_name', 'address', 'date_joined'] + REQUIRED_FIELDS = ['first_name', 'last_name'] USERNAME_FIELD = 'email' objects = UserManager()