About Gotchas with BigAutoField
Avoid adding
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
in your project settings, because it will create migrations for backward-compatible external apps inside side-packages
.
Instead, set
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
in the settings and define
default_auto_field = "django.db.models.BigAutoField"
in each app's configuration.
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You