#27532: Remove Model._meta.has_auto_field
-------------------------------------+-------------------------------------
Reporter: Adam | Owner: nobody
Chainz |
Type: | Status: assigned
Cleanup/optimization |
Component: Database | Version: 1.10
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
It seems a bit of a waste when it just mirrors the result of
`bool(Model._meta.auto_field)`, and it's not used in many places.
--
Ticket URL: <https://code.djangoproject.com/ticket/27532>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.6df66eac419c2435c159798245356d44%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.