Changes between Version 1 and Version 2 of Ticket #36888, comment 11


Ignore:
Timestamp:
May 29, 2026, 3:52:29 PM (5 days ago)
Author:
Jacob Walls

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36888, comment 11

    v1 v2  
    66}}}
    77
    8 Attempts in the PRs to delegate to `asave()` and push that `sync_to_async()` boundary into `asave()` stalled on the fact that `GenericForeignKeyDescriptor.__set__` accesses the database (see `generic_relations.tests.GenericRelationsTests.test_aadd`). The PRs added another call to `sync_to_async`, which isn't pointing in the right directin, as pointed out in the reviews. (edits: precision)
     8Attempts in the PRs to delegate to `asave()` and push that `sync_to_async()` boundary into `asave()` stalled on the fact that `GenericForeignKeyDescriptor.__set__` accesses the database (see `generic_relations.tests.GenericRelationsTests.test_aadd`). The PRs added another call to `sync_to_async`, which isn't pointing in the right direction, as pointed out in the reviews. (edits: precision)
    99
    1010I [https://github.com/django/django/pull/20602#pullrequestreview-4391796527 posted] a sketch of an async interface for Model instantiation.
Back to Top