From 0b0926ba76c89197770a936a69c202e32a7e3f83 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Sat, 27 Aug 2022 17:44:12 +0200 Subject: [PATCH] Specify default auto field to avoid creating migrations by other apps using authens --- authens/apps.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authens/apps.py b/authens/apps.py index 7f3d1dd..f9247c8 100644 --- a/authens/apps.py +++ b/authens/apps.py @@ -1,5 +1,7 @@ from django.apps import AppConfig +from django.db.models import AutoField class AuthEnsConfig(AppConfig): name = "authens" + default_auto_field = AutoField