~linuxgoose/bocpress

ref: 427f667b36d056efd6de93cd909f10450a3915fd bocpress/main/migrations/0073_user_api_key.py -rw-r--r-- 476 bytes
427f667bJordan Robinson add img width 100% for byline images 14 days 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
            ),
        ),
    ]