~linuxgoose/bocpress

ref: a72c4771fa8b0612594b4b98382b3e2605399074 bocpress/main/migrations/0073_user_api_key.py -rw-r--r-- 476 bytes
a72c4771Jordan Robinson add tags to draft posts list 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
            ),
        ),
    ]