Add DEFAULT_AUTO_FIELD to settings for explicit PK field

This commit is contained in:
David Wobrock committed 2021-05-02 15:07:16 +02:00
1 parent c988ee3d51
commit 062c60cd31
1 file changed
+2
+2
View File
@@ -149,3 +149,5 @@ USE_TZ = True
# https://docs.djangoproject.com/en/2.1/howto/static-files/
STATIC_URL = "/static/"
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"