~linuxgoose/bocpress

ref: a20aa2ef91a954f4c5da63166885e94bb2a0087b bocpress/main/migrations/0008_auto_20200601_2326.py -rw-r--r-- 711 bytes
a20aa2ef — Jordan update readme wording 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Generated by Django 3.0.6 on 2020-06-01 23:26

from django.db import migrations, models

import main.validators


class Migration(migrations.Migration):
    dependencies = [
        ("main", "0007_user_blog_byline"),
    ]

    operations = [
        migrations.AlterField(
            model_name="user",
            name="username",
            field=models.CharField(
                error_messages={"unique": "A user with that username already exists."},
                help_text="This will be your subdomain. Lowercase alphanumeric.",
                max_length=150,
                unique=True,
                validators=[main.validators.AlphanumericHyphenValidator()],
            ),
        ),
    ]