Increase username charfield to 120 chars
This commit is contained in:
parent
4890c4956f
commit
af70824d6a
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ class CustomUser(AbstractBaseUser, PermissionsMixin):
|
||||||
site = models.ForeignKey(Site, default=1)
|
site = models.ForeignKey(Site, default=1)
|
||||||
name = models.CharField(max_length=50, validators=[validate_name])
|
name = models.CharField(max_length=50, validators=[validate_name])
|
||||||
email = models.EmailField(unique=True)
|
email = models.EmailField(unique=True)
|
||||||
username = models.CharField(max_length=60, unique=True, null=True)
|
username = models.CharField(max_length=120, unique=True, null=True)
|
||||||
validated = models.IntegerField(choices=VALIDATED_CHOICES, default=0)
|
validated = models.IntegerField(choices=VALIDATED_CHOICES, default=0)
|
||||||
in_ldap = models.BooleanField(default=False)
|
in_ldap = models.BooleanField(default=False)
|
||||||
# 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