#27342: QuerySet.update_or_create() "shortcut to boilerplatish code" example is
incorrect
----------------------------------+--------------------------------------
Reporter: kakarukeys | Owner: Tim Graham
Type: Bug | Status: closed
Component: Documentation | Version: 1.10
Severity: Normal | Resolution: fixed
Keywords: update_or_create | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+--------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"aba8f2b5017a95c84bdf4bae9d2e889fc53a9c34" aba8f2b5]:
{{{
#!CommitTicketReference repository=""
revision="aba8f2b5017a95c84bdf4bae9d2e889fc53a9c34"
[1.8.x] Fixed #27342 -- Corrected QuerySet.update_or_create() example.
Backport of 51b83d9e5113ea5b81d04f4d117bd5acd3c1b822 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27342#comment:4>
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/068.be624614031ad3f923917c6c2869ca66%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.