summaryrefslogtreecommitdiff
path: root/tests/serializers/tests.py
AgeCommit message (Collapse)Author
2023-02-01[4.2.x] Refs #33476 -- Applied Black's 2023 stable style.David Smith
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 Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main
2022-09-05Fixed #33937 -- Optimized serialization of related m2m fields without ↵Mark Evans
natural keys.
2022-02-22Removed redundant QuerySet.all() calls in docs and tests.Nick Pope
Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager.
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-13Fixed #29708 -- Deprecated PickleSerializer.Adam Johnson
2021-09-02Refs #33012 -- Moved PickleSerializer to django.core.serializers.base and ↵Daniyal Abbasi
added tests.
2020-05-25Fixed #29078 -- Made serializers respect prefetch_related() for m2m fields.Claude Paroz
2020-05-15Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette
2020-04-28Fixed #29249 -- Made JSON and YAML serializers use Unicode by default.Hasan Ramezani
2020-02-07Used assertRaisesMessage() in various tests.Hasan Ramezani
2019-08-07Corrected several typos in string literals and test names.Min ho Kim
2019-06-27Added test for serializing child model without inherited fields.Nadège Michel
2019-06-27Fixed #28725 -- Prevented serializing inherited ManyToManyFields in child model.Nadège Michel
2017-11-30Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey ↵Simon Charette
pointing to a MTI model. Regression in b9f8635f58ad743995cad2081b3dc395e55761e5.
2017-09-18Fixed #28610 -- Skipped test when serializer is not availableClaude Paroz
Thanks Tim Graham for the review.
2017-09-06Refs #23919 -- Replaced usage of django.utils.functional.curry() with ↵Sergey Fedoseev
functools.partial()/partialmethod().
2017-02-09Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-17Simplified a test after refs #26207.Joachim Jablon
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-06-08Fixed #26717 -- Added Serializer.stream_class to customize the stream.Berker Peksag
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2016-04-04Fixed W503 flake8 warnings.Tim Graham
2015-10-27Fixed #25550 -- Deprecated direct assignment to the reverse side of a ↵Tim Graham
related set.
2015-09-26Moved more serializers_regress to serializers testsClaude Paroz
2015-09-26Separated natural key serialization testsClaude Paroz
2015-09-26Separated JSON serialization testsClaude Paroz
2015-09-26Separated XML serialization testsClaude Paroz
2015-09-26Separated YAML serialization testsClaude Paroz
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
2015-07-24Fixed #22258 -- Added progress status for dumpdata when outputting to fileClaude Paroz
Thanks Gwildor Sok for the report and Tim Graham for the review.
2015-07-03Refs #25050 -- Corrected test assertion in serializers test.Tim Graham
2015-07-02Fixed #25050 -- Allowed serialization of models with deferred fields.Grégoire ROCHER
2015-06-19Fixed #20197 -- Made XML serializer fail loudly when outputting ↵Claude Paroz
unserializable chars Thanks Tim Graham for the review.
2015-06-10Fix for ticket 12685mick
2015-05-20Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette
2015-04-09Fixed #19820 -- Added more helpful error messages to Python deserializer.Richard Eames
2015-04-02Fixed #24558 -- Made dumpdata mapping ordering deterministic.Simon Charette
Thanks to gfairchild for the report and Claude for the review.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-06-11Fixed #22653 -- Added some database feature flags to tests.Tim Graham
Thanks Rahul Priyadarshi.
2014-03-21Removed legacy transaction management per the deprecation timeline.Aymeric Augustin
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-11-02Fixing E302 ErrorsJason Myers
Signed-off-by: Jason Myers <jason@jasonamyers.com>
2013-11-02Fixed #21302 -- Fixed unused imports and import *.Tim Graham
2013-10-26Fixed all the E203 violationsAlex Gaynor