From c9923e1639e8d144344b2982c9645587fed3333e Mon Sep 17 00:00:00 2001 From: blag Date: Mon, 20 Dec 2021 01:49:09 -0800 Subject: [PATCH] Set test settings DEFAULT_AUTO_FIELD to AutoField --- runtests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/runtests.py b/runtests.py index c48c18e..0eaea76 100755 --- a/runtests.py +++ b/runtests.py @@ -15,6 +15,7 @@ if not settings.configured: 'ENGINE': 'django.db.backends.sqlite3', } }, + 'DEFAULT_AUTO_FIELD': 'django.db.models.AutoField', 'INSTALLED_APPS': [ 'django.contrib.auth', 'django.contrib.contenttypes',