~linuxgoose/bocpress

ref: d8759d9a75c5243da4460519a6aac5d5a944795d bocpress/main/migrations/0073_user_api_key.py -rw-r--r-- 476 bytes
d8759d9aJordan Robinson add blog setting for number of items to return in feed 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
            ),
        ),
    ]