| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-12-22 | Fixed #36786 -- Fixed XML serialization of None values in natural keys. | Youngkwang Yang | |
| None values in natural keys were incorrectly serialized as the string "None", causing deserialization to fail for fields like UUIDField. | |||
| 2025-12-03 | Fixed #35729 -- Enabled natural key serialization opt-out for subclasses. | rimi0108 | |
| Refactored serialization logic to allow models inheriting a natural_key() method (e.g. AbstractBaseUser) to explicitly opt out of natural key serialization by returning an empty tuple from the method. Thanks Jonas Dittrich for the report. Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | |||
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-02-05 | Fixed #32420 -- Fixed detecting primary key values in deserialization when ↵ | Mikolaj Rybinski | |
| PK is also a FK. | |||
| 2020-04-07 | Enforced uniqueness of natural keys used in tests. | Mariusz Felisiak | |
| 2018-12-27 | Followed style guide for model attribute ordering. | Matt Wiens | |
| 2018-11-27 | Fixed #28385 -- Fixed deserializing natural keys when primary key has a ↵ | dmytryi.striletskyi | |
| default value. Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com> | |||
| 2018-07-13 | Fixed #26291 -- Allowed loaddata to handle forward references in natural_key ↵ | Peter Inglesby | |
| fixtures. | |||
| 2015-09-26 | Made tests/serializers/models.py a models package | Claude Paroz | |
| Thanks Tim Graham for the patch series review. | |||
