We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 727fac7 commit c9aaf5aCopy full SHA for c9aaf5a
1 file changed
editgroups/settings/common.py
@@ -175,6 +175,11 @@
175
os.path.join(BASE_DIR, "static"),
176
]
177
178
+# Default primary key field type
179
+# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field
180
+
181
+DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
182
183
# Taken from https://gist.github.com/DamianZaremba/e6d65a200f7c451db80939e7e9e4f2c8
184
# Shrink specific columns down, so the key combination for the constraints
185
# aren't larger than the max legnth, when not using innodb_large_prefix.
0 commit comments