mirror of
https://github.com/django/django.git
synced 2025-01-24 17:19:19 +00:00
b065aeb17f
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.