Changes between Initial Version and Version 1 of Ticket #31064, comment 6


Ignore:
Timestamp:
Apr 3, 2020, 1:05:28 AM (4 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31064, comment 6

    initial v1  
    1 That makes sense, good old model level cache biting us again. If `related_objects` gets out of sync it's likely because we forgot to clear something in `AlterField.state_forwards` and my money is on `is_referenced_by_foreign_key` not taking into account `ManyToManyField` defined without an explicit `through`.
     1That makes sense, good old model level cache biting us again. If `related_objects` gets out of sync it's likely because we forgot to clear something in `AlterField.state_forwards` and my money is on `is_referenced_by_foreign_key` not taking into account `ManyToManyField` defined without an explicit `through` since that won't create any entry in `state.models`.
Back to Top