From e11882685fd2760809151da06d13e582fd8a77f6 Mon Sep 17 00:00:00 2001 From: PCoder Date: Tue, 17 Dec 2019 22:07:57 +0530 Subject: [PATCH] Add vat_number field to CustomUser --- membership/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/membership/models.py b/membership/models.py index df5a5326..28b5951d 100644 --- a/membership/models.py +++ b/membership/models.py @@ -68,6 +68,7 @@ class CustomUser(AbstractBaseUser, PermissionsMixin): site = models.ForeignKey(Site, default=1) name = models.CharField(max_length=50) email = models.EmailField(unique=True) + vat_number = models.CharField(max_length=100, default="") validated = models.IntegerField(choices=VALIDATED_CHOICES, default=0) # By default, we initialize the validation_slug with appropriate value