Changes between Version 3 and Version 4 of Ticket #31416, comment 18
- Timestamp:
- Apr 18, 2020, 8:38:31 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31416, comment 18
v3 v4 15 15 16 16 So, my code should be correct by using `self.get_changes([Readable], [Readable with no fields, Book, Magazine])` (I will use predefined model states later!). but my code meant to fix this issue wasn't executed when I use `self.get_changes` while doing two separate migrations will execute my added code correctly, which is confusing. Also I suspect that the first migration will construct a `loader.graph` that will reorder the action operations. 17 18 Sorry about the confusion! So basically using `self.get_changes([Readable], [Readable with no fields, Book, Magazine])` doesn't give me the action operations with the correct order. When I do the first migration for only `Readable` class, and then the second migration for `Readable` with no fields, `Book` and `Magazine` on local machine, it gives me the correct order. So i don't think simply doing `self.get_changes` will do the same thing as my mentioned two-step migrations testing.