Changes between Version 2 and Version 5 of Ticket #34135


Ignore:
Timestamp:
Nov 3, 2022, 1:50:17 PM (19 months ago)
Author:
Jon Janzen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34135

    • Property Cc Carlton Gibson added
    • Property Triage Stage UnreviewedAccepted
    • Property Type UncategorizedNew feature
    • Property Owner changed from nobody to Jon Janzen
    • Property Status newassigned
  • Ticket #34135 – Description

    v2 v5  
    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`
    99
    1010(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