Opened 5 years ago
Closed 4 years ago
#31468 closed New feature (fixed)
Move migration name suggestion from AutoDetector to operation classes
Reported by: | Adam Johnson | Owned by: | Adam Johnson |
---|---|---|---|
Component: | Migrations | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Currently migration automatic names are generated in one method in the autodetector. This does not support all operation types, and has no way of being extended for custom operation types. This logic should be moved to the individual operations classes.
Change History (5)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Triage Stage: | Unreviewed → Accepted |
---|
Marking as impicitly accepted by previous GitHub review.
comment:3 by , 4 years ago
Owner: | changed from | to
---|---|
Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
[PR](https://github.com/django/django/pull/12131)
(I started this one just to add two methods and at Simon's suggestion, it grew.)