From 49d2300ee8c9d22159fe0f5c3c71b8c229a52d35 Mon Sep 17 00:00:00 2001 From: Dan H Date: Thu, 3 Mar 2022 12:37:12 +0000 Subject: [PATCH] fix Configure DEFAULT_AUTO_FIELD setting warning --- birdsong/apps.py | 1 + .../migrations/0006_auto_20220428_0558.py | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 birdsong/migrations/0006_auto_20220428_0558.py diff --git a/birdsong/apps.py b/birdsong/apps.py index a3a26cd..beaaebd 100644 --- a/birdsong/apps.py +++ b/birdsong/apps.py @@ -2,6 +2,7 @@ from django.apps import AppConfig class WagtailBirdsongApp(AppConfig): + default_auto_field = "django.db.models.BigAutoField" name = 'birdsong' label = 'birdsong' verbose_name = 'Wagtail Birdsong' diff --git a/birdsong/migrations/0006_auto_20220428_0558.py b/birdsong/migrations/0006_auto_20220428_0558.py new file mode 100644 index 0000000..b82aff6 --- /dev/null +++ b/birdsong/migrations/0006_auto_20220428_0558.py @@ -0,0 +1,28 @@ +# Generated by Django 3.2.13 on 2022-04-28 05:58 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('birdsong', '0005_alter_receipt_success'), + ] + + operations = [ + migrations.AlterField( + model_name='campaign', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='contacttag', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='receipt', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ]