django/tests/serializers
Simon Charette 7db4ab8439 [3.0.x] 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 85458e94e3.

Thanks Reupen Shah for the report.

Backport of 5779cc938a from master
2019-12-30 08:30:44 +01:00
..
models [3.0.x] Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures. 2019-12-30 08:30:44 +01:00
__init__.py
test_data.py [3.0.x] Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures. 2019-12-30 08:30:44 +01:00
test_deserializedobject.py Refs #27546 -- Tested some __repr__() methods. 2016-12-01 08:09:38 -05:00
test_json.py Fixed #28984 -- Made assorted code simplifications. 2018-01-03 13:24:02 -05:00
test_natural.py Fixed #28385 -- Fixed deserializing natural keys when primary key has a default value. 2018-11-27 18:35:19 -05:00
test_xml.py Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model. 2017-11-30 09:28:44 -05:00
test_yaml.py Refs #11929 -- Fixed ordering of test YAML dumps. 2019-05-03 10:48:18 +02:00
tests.py Corrected several typos in string literals and test names. 2019-08-07 11:23:14 +02:00