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


Ignore:
Timestamp:
Oct 7, 2022, 3:04:19 PM (2 years ago)
Author:
Bhuvnesh

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33586, comment 20

    initial v1  
    1313Due to this difference {{{check_rel_lookup_compatibility}}} is returning False.
    1414
     15Edit:
     16So the real cause of this error is due to preventing rendering of related models up to the point where it's necessary (just before RunPython) in [https://code.djangoproject.com/ticket/27666 #27666] . Also it was mentioned [https://github.com/django/django/pull/7589/files#diff-f25b39d2e62a4fe6265aa1fcc1202096ef05adf1643536c4db5351ef3a9fc329R485 here] that if someone wants to work with on model classes or model instances, they must render model states like {{{from_state.clear_delayed_apps_cache()}}} to make
     17related models available.
     18A 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.
Back to Top