mirror of
https://github.com/django/django.git
synced 2025-02-10 01:16:53 +00:00
Cleaned up the internal implementation of m2m fields by removing related.py _get_fk_val(). The _get_fk_val() was doing the wrong thing if asked for the foreign key value on foreign key to parent model's primary key when child model had different primary key field.