fix Configure DEFAULT_AUTO_FIELD setting warning

This commit is contained in:
Dan H 2022-03-03 12:37:12 +00:00
parent bc47823b49
commit 49d2300ee8
2 changed files with 29 additions and 0 deletions

View File

@ -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'

View File

@ -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'),
),
]