#29979: Refactor AutoField logic into a mixin, implement checks and validators.
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: | Status: assigned
Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: autofield, | Triage Stage: Accepted
validators |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Nick Pope):
* needs_better_patch: 1 => 0
Comment:
[https://github.com/django/django/pull/10680 PR] updated. It seems that
this also partially addresses #17337, but that will further depend on #470
for default values for non-integer fields as well as #24042 for replacing
`isinstance(..., AutoField)` checks.
--
Ticket URL: <https://code.djangoproject.com/ticket/29979#comment:4>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.516e056e0bd97c32d141d731ddcf656e%40djangoproject.com.