Changes between Version 1 and Version 2 of Ticket #36194


Ignore:
Timestamp:
Feb 16, 2025, 2:42:03 PM (6 days ago)
Author:
amirreza
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36194 – Description

    v1 v2  
    22i'm working on an async version of `ModelForm` on a third party package
    33a problem that occurs is the lack of async support in mant to many fields
    4 in particular, `_save_m2m` [https://github.com/django/django/blob/main/django/forms/models.py#L536] calls `save_form_data` [https://github.com/django/django/blob/main/django/db/models/fields/related.py#L2010], but there is no async equivalent to this mathod
     4in particular, `_save_m2m` [https://github.com/django/django/blob/main/django/forms/models.py#L536] calls `save_form_data` [https://github.com/django/django/blob/main/django/db/models/fields/related.py#L2010], but there is no async equivalent to this method
    55even tho `save_form_data` is basically calling `ManyRelatedManager.set` [https://github.com/django/django/blob/main/django/db/models/fields/related_descriptors.py#L1275] which has an async equivalent
    66
Back to Top