• Anssi Kääriäinen's avatar
    Fixed #20946 -- model inheritance + m2m failure · b065aeb1
    Anssi Kääriäinen yazdı
    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.
    b065aeb1
tests.py 13.5 KB