Changes between Version 1 and Version 2 of Ticket #32263, comment 11
- Timestamp:
- Oct 6, 2022, 11:57:03 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32263, comment 11
v1 v2 1 Tried running around the files, the first problem that was the creation of model with `ForeignKey` before the target of `ForeignKey` seems to be resolved due to some previous patches I guess. For the second problem it seems that the `RenameModel` misses the functionality where it needs to change the `to` parameter of the `ForeignKey` model. The `RenameModel.reduce()` doesn't seems to be getting called here.1 Tried running around the files, the first problem that was the creation of model with `ForeignKey` before the target of `ForeignKey` seems to be a case for Sample Project 2 provided by [comment:2 Mariusz Felisiak]. For the second problem it seems that the `RenameModel` misses the functionality where it needs to change the `to` parameter of the `ForeignKey` model. The `RenameModel.reduce()` doesn't seems to be getting called here.