summaryrefslogtreecommitdiff
path: root/tests/basic/models.py
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2013-08-20 17:13:41 +0300
committerAnssi Kääriäinen <akaariai@gmail.com>2013-08-21 08:32:19 +0300
commitb065aeb17f9daf395e22d4d5f9f49c0e2c7f4522 (patch)
treefa2d63fddb5b8df8a4c4d0ac3e83974a96daee6e /tests/basic/models.py
parent83e434a2c2910d9e0540ea693d5f65e6550240c1 (diff)
Fixed #20946 -- model inheritance + m2m failure
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.
Diffstat (limited to 'tests/basic/models.py')
0 files changed, 0 insertions, 0 deletions