#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 isagalaev):
Attached new patch that doesn't break tests. Unfortuantely various
list/not list checks should stay intact because of the nature of
get_db_prep_lookup that accepts both lists and single values. I couldn't
make it actually work in a more general way so decided to leave it until
some lucky day when I'll have another epiphany.
--
Ticket URL: <http://code.djangoproject.com/ticket/7823#comment:8>
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
-~----------~----~----~----~------~----~------~--~---