1
0
mirror of https://github.com/django/django.git synced 2025-01-26 18:19:18 +00:00

3 Commits

Author SHA1 Message Date
Andrey Fedoseev
ded5020241 [1.10.x] Fixed #17657 -- Made ModelForm respect ModelMultipleChoiceField's to_field_name.
Follow up to 67d984413c9540074e4fe6aa033081a35cf192bc.

Backport of 81963b37a92ef583b9f725f1a78dd2ca97c1ab95 from master
2016-07-12 16:20:28 -04:00
Tim Graham
f529d0cb58 [1.10.x] Refs #24227 -- Fixed crash of ManyToManyField.value_from_object() on unsaved model instances.
This behavior was removed in 67d984413c9540074e4fe6aa033081a35cf192bc
but is needed to prevent a crash in formtools.

Backport of a4c20ae85b40c49e28d1b2227208e4f00d7820df from master
2016-05-28 16:06:06 -04:00
Tim Graham
3c1b572f18 Split model_fields tests into different files. 2016-03-23 19:31:47 -04:00