Fixed bug in manipulator_valid_rel_key -- it assumed the related object was related by the primary-key field, whereas this didn't work with ForeignKeys to non-primary-key fields
Fixed bug in manipulator_valid_rel_key -- it assumed the related object was related by the primary-key field, whereas this didn't work with ForeignKeys to non-primary-key fields

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3338 bcc190cf-cafb-0310-a4f2-bffc1f526a37

--HG--
extra : convert_revision : 50837124efe7c9e2b3b46247d660ad9fd44a5763

adieu/django-nonrel,adieu/django-nonrel,heracek/django-nonrel,heracek/django-nonrel,adieu/django-nonrel,heracek/django-nonrel