#26884: update_or_create does not evaluate callables in defaults for update case
-------------------------------------+-------------------------------------
Reporter: jensen-cochran | Owner:
| kennethyang404
Type: Bug | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: update_or_create | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"841cb45847f9a96c108e038300006b4c45aef12a" 841cb45]:
{{{
#!CommitTicketReference repository=""
revision="841cb45847f9a96c108e038300006b4c45aef12a"
Fixed #26884 -- Evaluated callables in QuerySet.update_or_create()'s
defaults when updating.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26884#comment:5>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/072.3d7b6e4a8b3c77c8b6e972e389870a6b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.