undid regressions from code merge with diego

This commit is contained in:
Sam
2021-02-04 13:19:43 +00:00
parent b11a5afa8b
commit 65c571a887
9 changed files with 44 additions and 33 deletions

View File

@@ -49,7 +49,7 @@ class CustomUser(AbstractBaseUser, PermissionsMixin):
email = models.EmailField('Dirección de email', unique=True)
full_name = models.CharField('Nombre completo', max_length=100, blank=True)
role = models.CharField('Rol', choices=ROLES, default=SHOP_USER, max_length=100)
role = models.CharField('Rol', choices=ROLES, default=SHOP_USER, max_length=100, blank=True, null=True)
notify = models.BooleanField('Notificar', default=False, null=True)
provider = models.CharField('Proveedor', max_length=1000, blank=True, null=True) # red social de registro
email_verified = models.BooleanField('Email verificado', default=False, null=True)