Changes between Version 1 and Version 2 of Ticket #33586, comment 20


Ignore:
Timestamp:
Oct 13, 2022, 4:58:44 AM (19 months ago)
Author:
Bhuvnesh

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33586, comment 20

    v1 v2  
    1717related models available.
    1818A 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
     20Edit2:
     21Can 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()}}} .
Back to Top