#29413: QuerySet.get_or_create()/update_or_create() shouldn't evaluate lazy
defaults unless they are needed
-------------------------------------+-------------------------------------
Reporter: Viktor Danyliuk | Owner: Liuyang
Type: | Qin
Cleanup/optimization | Status: assigned
Component: Database layer | Version: 2.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: QuerySet | Triage Stage: Accepted
get_or_create update_or_create |
lazy |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/29413#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 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/064.107b18e206b480cfbd94d8c27cc74300%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.