You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
Python
38 lines
1.1 KiB
Python
4 years ago
|
# Generated by Django 3.1.1 on 2020-11-19 08:10
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import myauth.models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
("myauth", "0002_auto_20200515_0801"),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AlterModelManagers(
|
||
|
name="user",
|
||
|
managers=[
|
||
|
("objects", myauth.models.UserManager()),
|
||
|
],
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name="user",
|
||
|
name="first_name",
|
||
|
field=models.CharField(blank=True, max_length=150, verbose_name="first name"),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name="user",
|
||
|
name="username",
|
||
|
field=models.CharField(
|
||
|
error_messages={"unique": "A user with that username already exists."},
|
||
|
help_text="Required. 150 characters or fewer. Letters, digits and ./-/_ only.",
|
||
|
max_length=150,
|
||
|
unique=True,
|
||
|
validators=[myauth.models.UnicodeUsernameValidator()],
|
||
|
verbose_name="username",
|
||
|
),
|
||
|
),
|
||
|
]
|