Changes between Initial Version and Version 2 of Ticket #34135


Ignore:
Timestamp:
Nov 2, 2022, 4:27:12 PM (19 months ago)
Author:
Jon Janzen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34135 – Description

    initial v2  
    66* `set`
    77
    8 And this might be a separate ticket but the docs [1] are missing a reference to `acreate` which according to `dir()` exists on `ManyRelatedManager` (I assume as a consequence of inheriting from some superclass `Manager` type) but I didn't actually try and see if it works. I'm suspicious that it might not be fully correct as `related_descriptors.py` includes a possibly custom version of the synchronous `create` function (see [2] & [3]).
     8And this might be a separate ticket but the docs (1) are missing a reference to `acreate` which according to `dir()` exists on `ManyRelatedManager` (I assume as a consequence of inheriting from some superclass `Manager` type) but I didn't actually try and see if it works. I'm suspicious that it might not be fully correct as `related_descriptors.py` includes a possibly custom version of the synchronous `create` function (see (2) & (3)).
    99
    10 [1] https://docs.djangoproject.com/en/dev/ref/models/relations/#django.db.models.fields.related.RelatedManager
    11 [2] https://github.com/django/django/blob/main/django/db/models/fields/related_descriptors.py#L788-L792
    12 [3] https://github.com/django/django/blob/main/django/db/models/fields/related_descriptors.py#L1186-L1190
     10(1) https://docs.djangoproject.com/en/dev/ref/models/relations/#django.db.models.fields.related.RelatedManager
     11(2) https://github.com/django/django/blob/main/django/db/models/fields/related_descriptors.py#L788-L792
     12(3) https://github.com/django/django/blob/main/django/db/models/fields/related_descriptors.py#L1186-L1190
Back to Top