diff --git a/auditlog_tests/test_settings.py b/auditlog_tests/test_settings.py
index <HASH>..<HASH> 100644
--- a/auditlog_tests/test_settings.py
+++ b/auditlog_tests/test_settings.py
@@ -57,3 +57,5 @@ STATIC_URL = "/static/"
 ROOT_URLCONF = "auditlog_tests.urls"
 
 USE_TZ = True
+
+DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
Add DEFAULT_AUTO_FIELD to test settings.