From ec7a2495489149c8861a536ffd4f3def7fb9820c Mon Sep 17 00:00:00 2001 From: Etchegoyen Matthieu Date: Thu, 25 Jul 2024 10:45:27 +0200 Subject: [PATCH] explicitly set the default value of the automatic field to avoid a new migration being proposed --- django_webhook/apps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django_webhook/apps.py b/django_webhook/apps.py index ab8ea66..65c8185 100644 --- a/django_webhook/apps.py +++ b/django_webhook/apps.py @@ -4,6 +4,7 @@ class WebhooksConfig(AppConfig): name = "django_webhook" + default_auto_field = "django.db.models.AutoField" def ready(self): from django.conf import settings