~linuxgoose/bocpress

ref: f69ddcd72b15c35997d71de551166495808b7069 bocpress/main/migrations/0073_user_api_key.py -rw-r--r-- 476 bytes
f69ddcd7Jordan Robinson update footer to include source code link 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
            ),
        ),
    ]