misc: increase allowed length of name attributes (#26698)
This commit is contained in:
parent
7d2c18eb54
commit
6bcc96cbcd
|
@ -0,0 +1,25 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.12 on 2018-09-25 09:07
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('custom_user', '0015_auto_20170707_1653'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='user',
|
||||
name='first_name',
|
||||
field=models.CharField(blank=True, max_length=128, verbose_name='first name'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='user',
|
||||
name='last_name',
|
||||
field=models.CharField(blank=True, max_length=128, verbose_name='last name'),
|
||||
),
|
||||
]
|
|
@ -83,8 +83,8 @@ class User(AbstractBaseUser, PermissionMixin):
|
|||
uuid = models.CharField(_('uuid'), max_length=32,
|
||||
default=utils.get_hex_uuid, editable=False, unique=True)
|
||||
username = models.CharField(_('username'), max_length=256, null=True, blank=True)
|
||||
first_name = models.CharField(_('first name'), max_length=64, blank=True)
|
||||
last_name = models.CharField(_('last name'), max_length=64, blank=True)
|
||||
first_name = models.CharField(_('first name'), max_length=128, blank=True)
|
||||
last_name = models.CharField(_('last name'), max_length=128, blank=True)
|
||||
email = models.EmailField(_('email address'), blank=True,
|
||||
validators=[validators.EmailValidator], max_length=254)
|
||||
email_verified = models.BooleanField(
|
||||
|
|
Loading…
Reference in New Issue