HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
Fixed #18949 -- Improve performance of model_to_dict with many-to-many
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.
- Loading branch information...
Showing with 37 additions and 1 deletion.