summaryrefslogtreecommitdiff
path: root/tests/model_fields/test_manytomanyfield.py
AgeCommit message (Collapse)Author
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-07-15Refs #32508 -- Raised Type/ValueError instead of using "assert" in ↵Daniyal
django.db.models. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2017-08-31Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy.Tim Graham
Previously, it was a QuerySet which could reevaluate to a new value if the model's data changes. This is inconsistent with other Field.value_from_object() methods. This allows reverting the fix in the admin for refs #27998.
2017-01-19Fixed spelling mistakes in code and comments.james mike dupont
2016-07-12Fixed #17657 -- Made ModelForm respect ModelMultipleChoiceField's to_field_name.Andrey Fedoseev
Follow up to 67d984413c9540074e4fe6aa033081a35cf192bc.
2016-05-28Refs #24227 -- Fixed crash of ManyToManyField.value_from_object() on unsaved ↵Tim Graham
model instances. This behavior was removed in 67d984413c9540074e4fe6aa033081a35cf192bc but is needed to prevent a crash in formtools.
2016-03-23Split model_fields tests into different files.Tim Graham