Opened 13 months ago
Closed 13 months ago
#34980 closed Cleanup/optimization (fixed)
Change migration operation dependencies to namedtuples.
Reported by: | Mariusz Felisiak | Owned by: | Mariusz Felisiak |
---|---|---|---|
Component: | Migrations | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Simon Charette, Carlton Gibson | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Using namedtuple
s and Enum
s should make the migration autodetector more readable and maintainable.
Change History (4)
comment:1 by , 13 months ago
Has patch: | set |
---|
comment:2 by , 13 months ago
Summary: | Changed migration operation dependencies to namedtuples. → Change migration operation dependencies to namedtuples. |
---|
comment:3 by , 13 months ago
Triage Stage: | Unreviewed → Accepted |
---|
Note:
See TracTickets
for help on using tickets.
I've been thinking about changing this for some time, and I'm not the only one, so I gave it a try.
PR