#29898: Adapt schema editors to operate from model states instead of fake
rendered
models
------------------------------------------------+------------------------
Reporter: Simon Charette | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Migrations | Version: master
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 1 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
Rendering models meant to be passed to the schema editor during the
migrate phase is the main source of slowdown during the migrate phase of a
project.
Adapting schema editors to be able to perform the same operations with
model states would be way more efficient as model rendering could always
be delayed until it's a necessity such during the application of
`RunPython` operations.
Ref #22608.
Initial work by Markus Holtermann here
https://github.com/django/django/compare/master...MarkusH:schemaeditor-
modelstate
--
Ticket URL: <https://code.djangoproject.com/ticket/29898>
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/052.e3a984b3c51fb82a9e737bfc2f339378%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.