#7823: ForeignKey get_db_prep_lookup doesn't work for custom primary key
---------------------------------------+------------------------------------
Reporter: isagalaev | Owner: mtredinnick
Status: new | Milestone: 1.0
Component: Database wrapper | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------+------------------------------------
Comment (by mtredinnick):
Thanks, Ivan. It may be failing now as a result of `get_db_prep_lookup()`
having been refactored a while back (mostly into using
`get_db_prep_value()` wherever possible. We might have to add back one or
two `get_db_prep_lookup()` overrides, like I did in [8526]. That's just a
guess, though, since I haven't looked too deeply at this.
--
Ticket URL: <http://code.djangoproject.com/ticket/7823#comment:7>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---