Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | 2023-02-01 | 2 | -3/+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 #29708 -- Removed PickleSerializer per deprecation timeline. | Mariusz Felisiak | 2023-01-17 | 1 | -29/+2 |
| | |||||
* | Fixed #33937 -- Optimized serialization of related m2m fields without ↵ | Mark Evans | 2022-09-05 | 1 | -0/+27 |
| | | | | natural keys. | ||||
* | Fixed various tests on MySQL with MyISAM storage engine. | Mariusz Felisiak | 2022-04-18 | 1 | -5/+7 |
| | |||||
* | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | 2022-02-22 | 1 | -4/+4 |
| | | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager. | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 2 | -3/+9 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 12 | -290/+484 |
| | |||||
* | Fixed #29708 -- Deprecated PickleSerializer. | Adam Johnson | 2022-01-13 | 1 | -1/+12 |
| | |||||
* | Refs #33012 -- Moved PickleSerializer to django.core.serializers.base and ↵ | Daniyal Abbasi | 2021-09-02 | 1 | -1/+17 |
| | | | | added tests. | ||||
* | Fixed #32420 -- Fixed detecting primary key values in deserialization when ↵ | Mikolaj Rybinski | 2021-02-05 | 2 | -2/+35 |
| | | | | PK is also a FK. | ||||
* | Refs #31369 -- Removed models.NullBooleanField per deprecation timeline. | Mariusz Felisiak | 2021-01-14 | 2 | -9/+2 |
| | |||||
* | Fixed #31888 -- Avoided module-level MySQL queries in tests. | Ahmad A. Hussein | 2020-08-17 | 1 | -9/+8 |
| | |||||
* | Fixed #17653 -- Allowed using zero as AutoFields value on MySQL if ↵ | Mariusz Felisiak | 2020-07-20 | 1 | -2/+2 |
| | | | | NO_AUTO_VALUE_ON_ZERO SQL mode is enabled. | ||||
* | Refs #30190 -- Minor edits to JSONL serializer. | Mariusz Felisiak | 2020-06-17 | 1 | -99/+48 |
| | | | Follow up to e29637681be07606674cdccb47d1e53acb930f5b. | ||||
* | Fixed #30190 -- Added JSONL serializer. | Ali Vakilzade | 2020-06-16 | 1 | -0/+312 |
| | |||||
* | Fixed #29078 -- Made serializers respect prefetch_related() for m2m fields. | Claude Paroz | 2020-05-25 | 1 | -0/+13 |
| | |||||
* | Refs #31395 -- Relied on setUpTestData() test data isolation in various tests. | Simon Charette | 2020-05-15 | 1 | -11/+12 |
| | |||||
* | Changed `'%s' % value` pattern to `str(value)`. | Nick Pope | 2020-05-04 | 1 | -1/+1 |
| | |||||
* | Fixed #29249 -- Made JSON and YAML serializers use Unicode by default. | Hasan Ramezani | 2020-04-28 | 2 | -9/+8 |
| | |||||
* | Refs #29249 -- Added tests for serializing Unicode data with XML serializer. | Hasan Ramezani | 2020-04-28 | 1 | -0/+8 |
| | |||||
* | Enforced uniqueness of natural keys used in tests. | Mariusz Felisiak | 2020-04-07 | 1 | -1/+1 |
| | |||||
* | Used assertRaisesMessage() in various tests. | Hasan Ramezani | 2020-02-07 | 1 | -2/+1 |
| | |||||
* | Fixed #31071 -- Disabled insert optimization for primary keys with defaults ↵ | Simon Charette | 2019-12-30 | 2 | -1/+8 |
| | | | | | | | | | | | | 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 #26743 -- Fixed UnboundLocalError crash when deserializing m2m fields ↵ | Baptiste Mispelon | 2019-12-13 | 1 | -0/+14 |
| | | | | and value isn't iterable. | ||||
* | Fixed #30987 -- Added models.PositiveBigIntegerField. | Caio Ariede | 2019-11-19 | 2 | -2/+8 |
| | |||||
* | Corrected several typos in string literals and test names. | Min ho Kim | 2019-08-07 | 1 | -1/+1 |
| | |||||
* | Added test for serializing child model without inherited fields. | Nadège Michel | 2019-06-27 | 1 | -1/+2 |
| | |||||
* | Fixed #28725 -- Prevented serializing inherited ManyToManyFields in child model. | Nadège Michel | 2019-06-27 | 2 | -2/+11 |
| | |||||
* | Refs #11929 -- Fixed ordering of test YAML dumps. | Tobias Kunze | 2019-05-03 | 1 | -14/+14 |
| | | | | Thanks Nick Pope for the review. | ||||
* | Removed unused YamlSerializerTestCase.fwd_ref_str. | Mariusz Felisiak | 2019-05-03 | 1 | -16/+0 |
| | | | Unused since its introduction in febd5aeec604198b2e374a33552b0c365096fd45. | ||||
* | Fixed serializers test crash if PyYAML isn't installed. | Tim Graham | 2019-03-20 | 1 | -1/+1 |
| | | | | Follow up to a57c783dd4e6dc73847081221827a1902eede88b. | ||||
* | Fixed serializers tests for PyYAML 5.1+. | Mariusz Felisiak | 2019-03-14 | 1 | -1/+3 |
| | |||||
* | Followed style guide for model attribute ordering. | Matt Wiens | 2018-12-27 | 1 | -2/+2 |
| | |||||
* | Fixed #28385 -- Fixed deserializing natural keys when primary key has a ↵ | dmytryi.striletskyi | 2018-11-27 | 2 | -1/+36 |
| | | | | | | default value. Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com> | ||||
* | Fixed #26291 -- Allowed loaddata to handle forward references in natural_key ↵ | Peter Inglesby | 2018-07-13 | 2 | -1/+112 |
| | | | | fixtures. | ||||
* | Fixed #29227 -- Allowed BooleanField to be null=True. | Tim Graham | 2018-03-20 | 2 | -7/+2 |
| | | | | Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review. | ||||
* | Fixed #24607 -- Serialized natural keys in multi-table inheritance models. | Denys Duchier | 2018-02-12 | 3 | -1/+48 |
| | | | | Thanks João Paulo Melo de Sampaio for the test. | ||||
* | Fixed #28984 -- Made assorted code simplifications. | Tim Graham | 2018-01-03 | 1 | -9/+2 |
| | |||||
* | Fixed #28893 -- Removed unnecessary dict.items() calls. | Tim Graham | 2017-12-06 | 1 | -1/+1 |
| | |||||
* | Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey ↵ | Simon Charette | 2017-11-30 | 2 | -11/+1 |
| | | | | | | pointing to a MTI model. Regression in b9f8635f58ad743995cad2081b3dc395e55761e5. | ||||
* | Fixed #28610 -- Skipped test when serializer is not available | Claude Paroz | 2017-09-18 | 1 | -10/+10 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Revert "Refs #21286 -- Enabled serializer tests with time pk model" | Claude Paroz | 2017-09-18 | 2 | -5/+4 |
| | | | | | 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 model | Claude Paroz | 2017-09-17 | 2 | -4/+5 |
| | |||||
* | Refs #23919 -- Replaced usage of django.utils.functional.curry() with ↵ | Sergey Fedoseev | 2017-09-06 | 3 | -5/+5 |
| | | | | functools.partial()/partialmethod(). | ||||
* | Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵ | Tim Graham | 2017-07-20 | 1 | -1/+1 |
| | | | | | | Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa. | ||||
* | Refs #21286 -- Enabled serializer tests with date/datetime pk model | Claude Paroz | 2017-06-05 | 2 | -16/+19 |
| | |||||
* | Sorted imports per isort 4.2.9. | Tim Graham | 2017-06-01 | 1 | -1/+0 |
| | |||||
* | Fixed #27742 -- Reverted "Fixed #24607 -- Serialized natural keys in ↵ | Tim Graham | 2017-02-11 | 3 | -52/+1 |
| | | | | | | | multi-table inheritance models." This reverts commit 74a575eb7296fb04e1fc2bd4e3f68dee3c66ee0a as it causes unexpected migrations and doesn't seem to be the best solution. | ||||
* | Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). | Tim Graham | 2017-02-09 | 1 | -1/+1 |
| | |||||
* | Converted usage of ugettext* functions to their gettext* aliases | Claude Paroz | 2017-02-07 | 1 | -3/+3 |
| | | | | Thanks Tim Graham for the review. |