Changes between Initial Version and Version 2 of Ticket #34135
- Timestamp:
- Nov 2, 2022, 4:27:12 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34135 – Description
initial v2 6 6 * `set` 7 7 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]).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)). 9 9 10 [1]https://docs.djangoproject.com/en/dev/ref/models/relations/#django.db.models.fields.related.RelatedManager11 [2]https://github.com/django/django/blob/main/django/db/models/fields/related_descriptors.py#L788-L79212 [3]https://github.com/django/django/blob/main/django/db/models/fields/related_descriptors.py#L1186-L119010 (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