#36194: add async support to ManyToManyField
---------------------------------------+--------------------------
               Reporter:  amirreza     |          Owner:  amirreza
                   Type:  New feature  |         Status:  assigned
              Component:  Forms        |        Version:  5.1
               Severity:  Normal       |       Keywords:
           Triage Stage:  Unreviewed   |      Has patch:  0
    Needs documentation:  0            |    Needs tests:  0
Patch needs improvement:  0            |  Easy pickings:  1
                  UI/UX:  0            |
---------------------------------------+--------------------------
 hi
 i'm working on an async version of `ModelForm` on a third party package
 a problem that occurs is the lack of async support in mant to many fields
 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
 even 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

 so i think adding an async version is a feasible option, ofc this means
 adding async version of other methods of ManyToManyField that need one
 so i'm volunteering for this
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36194>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070195107c577f-02c2d4e9-db3e-4054-8b3b-49795bda0a0b-000000%40eu-central-1.amazonses.com.

Reply via email to