#10785: ForeignKey get_db_prep_lookup doesn't work for custom primary key if full
object isn't passed
-------------------------------------+-------------------------------------
Reporter: Alex Gaynor | Owner: Malcolm
| Tredinnick
Type: | Status: closed
Component: Database layer | Version: dev
(models, ORM) |
Severity: | Resolution: duplicate
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by GitHub <noreply@…>):
In [changeset:"8fd21b0da35697591e86f4eab0035c4360a45144" 8fd21b0d]:
{{{#!CommitTicketReference repository=""
revision="8fd21b0da35697591e86f4eab0035c4360a45144"
Refs #10785 -- Added missing __hash__() method to custom pk test model.
}}}
--
Ticket URL: <
https://code.djangoproject.com/ticket/10785#comment:14>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.