#31095: Related Manager set() should prepare values before checking for missing
elements.
-------------------------------------+-------------------------------------
Reporter: TZanke | Owner: Hasan
Type: | Ramezani
Cleanup/optimization | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by felixxm):
> Thank you! Will this be back ported to any other Django version?
No, this patch doesn't qualify for a backport, it will be included in
Django 3.1.
> The following line looks very similar, should this also be fixed?
No, in this case `set()` expects models instances, so it's not affected.
--
Ticket URL: <https://code.djangoproject.com/ticket/31095#comment:7>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/064.093351617554ae8f404c8273fa0266f5%40djangoproject.com.