Add vat_number field to CustomUser
This commit is contained in:
parent
33120d14f3
commit
e11882685f
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ class CustomUser(AbstractBaseUser, PermissionsMixin):
|
||||||
site = models.ForeignKey(Site, default=1)
|
site = models.ForeignKey(Site, default=1)
|
||||||
name = models.CharField(max_length=50)
|
name = models.CharField(max_length=50)
|
||||||
email = models.EmailField(unique=True)
|
email = models.EmailField(unique=True)
|
||||||
|
vat_number = models.CharField(max_length=100, default="")
|
||||||
|
|
||||||
validated = models.IntegerField(choices=VALIDATED_CHOICES, default=0)
|
validated = models.IntegerField(choices=VALIDATED_CHOICES, default=0)
|
||||||
# By default, we initialize the validation_slug with appropriate value
|
# By default, we initialize the validation_slug with appropriate value
|
||||||
|
|
Loading…
Reference in a new issue