Opened 2 years ago
Closed 2 years 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 namedtuples and Enums should make the migration autodetector more readable and maintainable.
Change History (4)
comment:1 by , 2 years ago
| Has patch: | set |
|---|
comment:2 by , 2 years ago
| Summary: | Changed migration operation dependencies to namedtuples. → Change migration operation dependencies to namedtuples. |
|---|
comment:3 by , 2 years 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