From 04608ea69471d242f3273d6492d3498b2360c753 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Fri, 5 Dec 2025 08:40:53 +0000 Subject: [PATCH] Default to AutoField for now --- tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/conftest.py b/tests/conftest.py index 01914ae77..11a079f48 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -15,6 +15,7 @@ def pytest_configure(config): settings.configure( DEBUG_PROPAGATE_EXCEPTIONS=True, + DEFAULT_AUTO_FIELD="django.db.models.AutoField", DATABASES={ 'default': { 'ENGINE': 'django.db.backends.sqlite3',