#28504: Add hooks into schema alter_field and reduce complexity
-------------------------------------+-------------------------------------
Reporter: Rachel | Owner: nobody
Tobin |
Type: New | Status: new
feature |
Component: Database | Version: 1.11
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
This patch adds in hooks into the base `alter_field` method in
`BaseDatabaseSchemaEditor` so backends are able to augment or override the
various actions that occur when altering a field. This also cuts
complexity in half, and clarifies the various actions.
PR is https://github.com/django/django/pull/8922
--
Ticket URL: <https://code.djangoproject.com/ticket/28504>
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/050.3e08b6cf6f80de7eb97bfc09ddc69100%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.