#26151: Refactor MigrationWriter
--------------------------------------+--------------------
Reporter: yoongkang | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Migrations | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
The serializer() method in MigrationWriter has a McCabe Cyclomatic
Complexity of 50, one of the highest in the entire Django code base.
The serialization logic should be in different Serializer classes.
MigrationWriter.serialize() should call a Serializer Factory to obtain the
correct Serializer for the value passed in.
--
Ticket URL: <https://code.djangoproject.com/ticket/26151>
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.8ab2e41b37ee323e7d3f29c695f3f086%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.