mirror of
https://github.com/Hopiu/django.git
synced 2026-03-22 00:40:24 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| models.py | ||
| test.png | ||
| test2.png | ||
| tests.py | ||