django/tests/serializers/models
Simon Charette 5779cc938a 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.
2019-12-30 07:49:10 +01:00
..
__init__.py Fixed #24607 -- Serialized natural keys in multi-table inheritance models. 2018-02-12 21:15:04 -05:00
base.py Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expression.convert_value(). 2017-07-20 16:30:08 -04:00
data.py Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures. 2019-12-30 07:49:10 +01:00
multi_table.py Fixed #28725 -- Prevented serializing inherited ManyToManyFields in child model. 2019-06-27 15:10:22 +02:00
natural.py Followed style guide for model attribute ordering. 2018-12-27 19:34:14 -05:00