1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00
django/tests/serializers
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
..
models Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures. 2019-12-30 07:49:10 +01:00
__init__.py
test_data.py Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures. 2019-12-30 07:49:10 +01:00
test_deserializedobject.py
test_json.py Fixed #26743 -- Fixed UnboundLocalError crash when deserializing m2m fields and value isn't iterable. 2019-12-13 11:38:09 +01:00
test_natural.py
test_xml.py
test_yaml.py
tests.py