summaryrefslogtreecommitdiff
path: root/tests/serializers/test_data.py
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-011-2/+2
| | | | | | | | Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-80/+136
|
* Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.Mariusz Felisiak2021-01-141-5/+2
|
* Fixed #31888 -- Avoided module-level MySQL queries in tests.Ahmad A. Hussein2020-08-171-9/+8
|
* Fixed #17653 -- Allowed using zero as AutoFields value on MySQL if ↵Mariusz Felisiak2020-07-201-2/+2
| | | | NO_AUTO_VALUE_ON_ZERO SQL mode is enabled.
* Fixed #31071 -- Disabled insert optimization for primary keys with defaults ↵Simon Charette2019-12-301-1/+2
| | | | | | | | | | | | 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.
* Fixed #30987 -- Added models.PositiveBigIntegerField.Caio Ariede2019-11-191-2/+4
|
* Fixed #29227 -- Allowed BooleanField to be null=True.Tim Graham2018-03-201-2/+1
| | | | Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
* Fixed #28893 -- Removed unnecessary dict.items() calls.Tim Graham2017-12-061-1/+1
|
* Revert "Refs #21286 -- Enabled serializer tests with time pk model"Claude Paroz2017-09-181-2/+2
| | | | | This reverts commit 01c6a3e227b645e8dea97e9befecd23d1d3b8581. Unfortunately, the YAML serializer is not yet able to cope with time values.
* Refs #21286 -- Enabled serializer tests with time pk modelClaude Paroz2017-09-171-2/+2
|
* Refs #23919 -- Replaced usage of django.utils.functional.curry() with ↵Sergey Fedoseev2017-09-061-1/+1
| | | | functools.partial()/partialmethod().
* Refs #21286 -- Enabled serializer tests with date/datetime pk modelClaude Paroz2017-06-051-12/+13
|
* Sorted imports per isort 4.2.9.Tim Graham2017-06-011-1/+0
|
* Refs #23919 -- Removed most of remaining six usageClaude Paroz2017-01-181-2/+1
| | | | Thanks Tim Graham for the review.
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+1
|
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-7/+11
|
* Fixed many spelling mistakes in code, comments, and docs.Josh Soref2015-12-031-1/+1
|
* Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵Tim Graham2015-10-271-1/+1
| | | | related set.
* Moved remaining of serializers_regress to serializers testsClaude Paroz2015-09-261-0/+424