#27118: Make QuerySet.get_or_create()/update_or_create() error for a non-field
in
defaults
-------------------------------------+-------------------------------------
Reporter: Tom Brightwell | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: 1.9
(models, ORM) |
Severity: Normal | Resolution:
Keywords: 1.11 | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"1db1f74617ae0c7b100065117ed1d9ac19a6143a" 1db1f74]:
{{{
#!CommitTicketReference repository=""
revision="1db1f74617ae0c7b100065117ed1d9ac19a6143a"
Refs #27118 -- Reallowed using pk in QuerySet.get/update_or_create().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27118#comment:6>
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/067.5dce0e3481d9c9ad9f743e41a4941225%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.