Changes between Version 1 and Version 2 of Ticket #33586, comment 20
- Timestamp:
- Oct 13, 2022, 4:58:44 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33586, comment 20
v1 v2 17 17 related models available. 18 18 A ticket([https://code.djangoproject.com/ticket/27737 #27737]) is also available stating that changes made in [https://code.djangoproject.com/ticket/27666 #27666] might cause error. 19 20 Edit2: 21 Can we not just add {{{state.clear_delayed_apps_cache()}}} inside {{{state_forwards()}}} for {{{RunPython}}} operation? The rendering of related models will still be delayed until {{{RunPython}}} operation, but we'll have access to models and instances for both forward and backward migrations. Currently we are clearing delayed apps cache inside {{{database_forwards()}}} .