#26638: Allow callable in defaults argument for QuerySet.get_or_create
-------------------------------------+-------------------------------------
Reporter: mlorant | Owner:
| ddsnowboard
Type: New feature | 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: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9899347641b2d3b4457cc99203a2b06504b32a16" 9899347]:
{{{
#!CommitTicketReference repository=""
revision="9899347641b2d3b4457cc99203a2b06504b32a16"
Fixed #26638 -- Allowed callable arguments for
QuerySet.get_or_create()/update_or_create() defaults.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26638#comment:9>
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/065.5b16d9be0120297e546df41f693e14e9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.