diff options
| author | Anton I. Sipos <aisipos@gmail.com> | 2012-11-04 15:42:17 -0800 |
|---|---|---|
| committer | Anton I. Sipos <aisipos@gmail.com> | 2012-11-04 15:52:05 -0800 |
| commit | e44ab5bb4fd3aa826ca4243a8ea9fd7125800da2 (patch) | |
| tree | 8882072ce524d389d2f41aec78835e9037fbc6b2 /scripts | |
| parent | 8d3f932f18c75fcbb32cf3dd5998445d65b5db0f (diff) | |
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.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
