#37018: Generated migrations should use tuples instead of lists
-------------------------------------+-------------------------------------
Reporter: Daniel Quinn | Owner: (none)
Type: | Status: closed
Cleanup/optimization |
Component: Migrations | Version: 6.0
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):
* resolution: => wontfix
* status: new => closed
Comment:
Hi Daniel! Thank you for the ticket
Unfortunately I think this would be a breaking change. If folks expect
`dependencies` to be a list, then they can append/extend the list.
I believe we do this inside `MigrationAutodetector._optimize_migrations()`
for example and it is likely that other third party apps might be doing
similar things
This change would then need a deprecation path and I am not sure it is
worth the effort
If this is something you have considered and you have a plan for this,
feel free to reopen the ticket for another review
--
Ticket URL: <https://code.djangoproject.com/ticket/37018#comment:1>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019d493048b8-ed9ac281-199a-41c2-9e99-dee625027f30-000000%40eu-central-1.amazonses.com.