~linuxgoose/bocpress

ref: 5204e11e63274f2b2f18a72cc43925cfc58d32ed bocpress/main/migrations/0073_user_api_key.py -rw-r--r-- 476 bytes
5204e11eJordan Robinson fix user update form to account for allow_docs_user env variable 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Generated by Django 4.0.3 on 2022-04-12 22:40

from django.db import migrations, models

import main.models


class Migration(migrations.Migration):
    dependencies = [
        ("main", "0072_alter_user_username"),
    ]

    operations = [
        migrations.AddField(
            model_name="user",
            name="api_key",
            field=models.CharField(
                default=main.models._generate_key, max_length=32, null=True
            ),
        ),
    ]