From b5e12d490af3debca8c55ab3c1698189fdedbbdb Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Sun, 12 Jul 2020 13:59:57 +0100 Subject: Fixed #31007 -- Allowed specifying type of auto-created primary keys. This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField. --- tests/test_sqlite.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/test_sqlite.py') diff --git a/tests/test_sqlite.py b/tests/test_sqlite.py index f1b65f7d01..099f37e56d 100644 --- a/tests/test_sqlite.py +++ b/tests/test_sqlite.py @@ -27,3 +27,5 @@ SECRET_KEY = "django_tests_secret_key" PASSWORD_HASHERS = [ 'django.contrib.auth.hashers.MD5PasswordHasher', ] + +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' -- cgit v1.3