Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Django gives a warning if there is no default auto field set. Maintaining the historical behavior, the default value for DEFAULT_AUTO_FIELD is AutoField. We are setting this value to avoid unwanted migrations for users. Starting with Django 3.2 new apps are generated with AppConfig.default_auto_field set to BigAutoField. See https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-auto-created-primary-keys
- Loading branch information