#36599: Wrong default value of DEFAULT_AUTO_FIELD in the documentation
-------------------------------------+-------------------------------------
Reporter: Salman Mohammadi | Type:
| Cleanup/optimization
Status: new | Component:
| Documentation
Version: 5.2 | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Hi everyone,
in the ''dev'' version of the documentation, we can see it correctly that
the default value for DEFAULT_AUTO_FIELD is:
`django.db.models.BigAutoField` {1} but it is not the case in the docs
versions of 5.2 {2} and 4.2 {3} which both have the default value which is
mentioned in the ''dev'' version but the respected docs have not been
updated and mentions the old default value which was
`'django.db.models.AutoField'`
- {1}
https://docs.djangoproject.com/en/dev/ref/settings/#std-setting-
DEFAULT_AUTO_FIELD
- {2}
https://docs.djangoproject.com/en/5.2/ref/settings/#std-setting-
DEFAULT_AUTO_FIELD
- {3}
https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-
DEFAULT_AUTO_FIELD
--
Ticket URL: <
https://code.djangoproject.com/ticket/36599>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.