mirror of
https://github.com/django/django.git
synced 2025-02-09 08:55:32 +00:00
e44ab5bb4f
When calling model_to_dict, improve performance of the generated SQL by using values_list to determine primary keys of many to many objects. Add a specific test for this function, test_model_to_dict_many_to_many Thanks to brian for the original report and suggested fix.