Changes between Version 2 and Version 3 of Ticket #31416, comment 18


Ignore:
Timestamp:
Apr 18, 2020, 8:33:16 PM (5 years ago)
Author:
Nan Liu

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31416, comment 18

    v2 v3  
    1414Hi Adam,
    1515
    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, which is confusing. Also I suspect that the first migration will construct a `loader.graph` that will reorder the action operations.
     16So, 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.
Back to Top