#20429: Add QuerySet.update_or_create method
-------------------------------------+-------------------------------------
Reporter: tunixman | Owner:
Type: New feature | elektrrrus
Component: Database layer | Status: assigned
(models, ORM) | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timo):
* stage: Ready for checkin => Accepted
Comment:
I've updated the patch, changing the signature of `get_or_create` and
`update_or_create` to `(defaults=None, **kwargs)`. I'd like another person
to review the patch before committing it.
--
Ticket URL: <https://code.djangoproject.com/ticket/20429#comment:29>
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/066.2cc1d36a2ca8d6469d5b616099d7daf8%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.