diff options
| author | Simon Charette <charette.s@gmail.com> | 2019-12-11 22:34:28 -0500 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-12-30 07:49:10 +0100 |
| commit | 5779cc938a34eb96815c7a40ded2c8f6c8087c58 (patch) | |
| tree | 376d864ff1cea36b52f0640235799febf5b0d527 /docs/internals/contributing/writing-code/coding-style.txt | |
| parent | 5a68f024987e6d16c2626a31bf653a2edddea579 (diff) | |
Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures.
Model.save_base() is called directly when loading fixtures and assumes
existing rows will be updated. Branching of "raw" allows to maintain
the optimization introduced in #29260 while supporting this edge case.
Regression in 85458e94e38c20e57939947ee515a1a53689659f.
Thanks Reupen Shah for the report.
Diffstat (limited to 'docs/internals/contributing/writing-code/coding-style.txt')
0 files changed, 0 insertions, 0 deletions
