Skip to content

Commit 8b33902

Browse files
committed
Revert "Removed DEFAULT_AUTO_FIELD setting."
This reverts commit 162ffe9.
1 parent 55d99b1 commit 8b33902

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ def _build_databases_setting():
5757

5858
DATABASES = _build_databases_setting()
5959

60+
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
61+
6062
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
6163

6264
SECRET_KEY = "django_tests_secret_key"

0 commit comments

Comments
 (0)