| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-11-27 | Fixed #25534, Fixed #31639 -- Added support for transform references in ↵ | Ian Foote | |
| expressions. Thanks Mariusz Felisiak and Simon Charette for reviews. | |||
| 2020-11-25 | Fixed #32203 -- Fixed QuerySet.values()/values_list() crash on key ↵ | sage | |
| transforms with non-string values on SQLite. Thanks Gordon Wrigley for the report. | |||
| 2020-11-25 | Refs #32203 -- Added tests for QuerySet.values()/values_list() on key ↵ | sage | |
| transforms with non-trivial values. | |||
| 2020-11-24 | Added test for filtering JSONField key transforms with quoted strings. | Mariusz Felisiak | |
| 2020-11-10 | Fixed #32182 -- Fixed crash of JSONField nested key transforms with subquery ↵ | Hannes Ljungberg | |
| annotations on PostgreSQL. | |||
| 2020-11-06 | Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. | Hasan Ramezani | |
| This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-11-02 | Fixed #32132 -- Fixed column types in m2m intermediary tables for ↵ | David-Wobrock | |
| Positive(Big/Small)IntegerFields. | |||
| 2020-11-02 | Refs #32132 -- Added rel_db_type() tests for auto and integer fields. | David-Wobrock | |
| 2020-10-22 | Replaced @no_oracle skips with DatabaseFeatures.allows_group_by_lob. | Tim Graham | |
| 2020-10-14 | Refs #32096 -- Fixed ExpressionWrapper crash with JSONField key transforms. | Mariusz Felisiak | |
| Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. Thanks Simon Charette and Igor Jerosimić for the report. | |||
| 2020-10-14 | Refs #32096 -- Fixed __in lookup crash against key transforms for JSONField. | Mariusz Felisiak | |
| Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd and 1251772cb83aa4106f526fe00738e51c0eb59122. Thanks Simon Charette and Igor Jerosimić for the report. | |||
| 2020-09-25 | Used assertRaisesMessage() in CharField tests. | David Smith | |
| 2020-09-21 | Fixed #31777 -- Added support for database collations to Char/TextFields. | Tom Carrick | |
| Thanks Simon Charette and Mariusz Felisiak for reviews. | |||
| 2020-09-10 | Refs #23130 -- Added test for BooleanField choices generation. | Jacob Walls | |
| 2020-09-09 | Fixed #31750 -- Made models.Field equality compare models for inherited fields. | Ryan Hiebert | |
| 2020-09-04 | Refs #31894 -- Added tests for JSONField key lookups with QuerySet.exclude(). | jpribyl | |
| 2020-08-28 | Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder ↵ | Mariusz Felisiak | |
| on PostgreSQL. Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews. | |||
| 2020-08-28 | Refs #31956 -- Added test for ordering by JSONField with a custom decoder. | Mariusz Felisiak | |
| 2020-08-26 | Fixed #31936 -- Fixed __in lookup on key transforms for JSONField. | Mariusz Felisiak | |
| This resolves an issue on databases without a native JSONField (MariaDB, MySQL, SQLite, Oracle), where values must be wrapped. Thanks Sébastien Pattyn for the report. | |||
| 2020-07-30 | Bumped minimum isort version to 5.1.0. | David Smith | |
| Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. | |||
| 2020-07-30 | Refs #31829 -- Added ↵ | Tim Graham | |
| DatabaseFeatures.json_key_contains_list_matching_requires_list. CockroachDB's behavior matches PostgreSQL. | |||
| 2020-07-28 | Fixed #31829 -- Used JSONField __contains lookup on key transforms. | sage | |
| 2020-07-28 | Fixed #31836 -- Dropped support for JSONField __contains and __contained_by ↵ | Mariusz Felisiak | |
| lookups on SQLite. The current implementation works only for basic examples without supporting nested structures and doesn't follow "the general principle that the contained object must match the containing object as to structure and data contents, possibly after discarding some non-matching array elements or object key/value pairs from the containing object". | |||
| 2020-07-28 | Fixed #31835 -- Dropped support for JSONField __contains lookup on Oracle. | Mariusz Felisiak | |
| The current implementation works only for basic examples without supporting nested structures and doesn't follow "the general principle that the contained object must match the containing object as to structure and data contents, possibly after discarding some non-matching array elements or object key/value pairs from the containing object". | |||
| 2020-07-24 | Fixed #31812 -- Fixed FileField.model for fields defined in abstract models. | Matthias Kestenholz | |
| Regression in a93425a37f4defdb31d4ca96bb3bf6da21f0b5ce. | |||
| 2020-06-17 | Fixed #30583 -- Fixed handling JSONFields in XML serializer. | Hasan Ramezani | |
| Co-authored-by: Chason Chaffin <chason@gmail.com> | |||
| 2020-06-05 | Fixed #31663 -- Made DecimalField.to_python() handle non-numeric invalid values. | Sasha Pachev | |
| 2020-05-18 | Refs #12990 -- Added DatabaseFeatures.has_json_operators. | Tim Graham | |
| CockroachDB also has them. | |||
| 2020-05-08 | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | |
| Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2020-01-31 | Used temporary directory in FileFieldTests.test_pickle(). | Mariusz Felisiak | |
| Using the current directory caused a PermissionError. | |||
| 2020-01-31 | Fixed 31207 -- Prevented references to non-local remote fields in ↵ | Hasan Ramezani | |
| ForeignKey.to_field. Thanks Simon Charette for the initial patch and review. | |||
| 2020-01-15 | Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited ↵ | Carlton Gibson | |
| choices. Regression in 2d38eb0ab9f78d68c083a5b78b1eca39027b279a | |||
| 2020-01-09 | Added file cleanup in FileFieldTests.test_pickle(). | Carlton Gibson | |
| 2020-01-09 | Fixed #21238 -- Fixed restoring attributes when pickling FileField and ↵ | Hasan Ramezani | |
| ImageField. | |||
| 2020-01-09 | Refs #21238 -- Added more tests for pickling FileField and ImageField. | Hasan Ramezani | |
| 2020-01-09 | Removed unused lines in ImageFieldTests.test_pickle(). | Hasan Ramezani | |
| 2019-12-27 | Fixed random models_fields.test_uuid.TestQuerying failures. | Mariusz Felisiak | |
| Random failures depended on a generated UUID. | |||
| 2019-11-19 | Fixed #30987 -- Added models.PositiveBigIntegerField. | Caio Ariede | |
| 2019-11-07 | Refs #29983 -- Added support for using pathlib.Path in all settings. | Jon Dufresne | |
| 2019-11-06 | Harmonized Windows checks in tests to a single style. | Jon Dufresne | |
| 2019-11-04 | Fixed #30931 -- Restored ability to override Model.get_FIELD_display(). | Carlton Gibson | |
| Thanks Sergey Fedoseev for the implementation idea. Regression in a68ea231012434b522ce45c513d84add516afa60. | |||
| 2019-10-29 | Used more specific unittest assertions in tests. | Nick Pope | |
| * assertIsNone()/assertIsNotNone() instead of comparing to None. * assertLess() for < comparisons. * assertIs() for 'is' expressions. * assertIsInstance() for isinstance() expressions. * rounding of assertAlmostEqual() for round() expressions. * assertIs(..., True/False) instead of comparing to True/False. * assertIs()/assertIsNot() for ==/!= comparisons. * assertNotEqual() for == comparisons. * assertTrue()/assertFalse() instead of comparing to True/False. | |||
| 2019-10-23 | Fixed #29919 -- Fixed RelatedOnlyFieldListFilter crash with reverse ↵ | Dan Moore | |
| relationships. | |||
| 2019-10-23 | Added tests for Field.get_choices()'s limit_choices_to argument. | Dan Moore | |
| 2019-10-21 | Replaced deprecated assertEquals() with assertEqual(). | Jon Dufresne | |
| 2019-09-23 | Fixed #29915 -- Added support for values with hyphens to pattern lookups for ↵ | Ian Foote | |
| UUIDField on backends without UUID datatype. Support hyphens in iexact, contains, icontains, startswith, istartswith, endswith and iendswith UUIDField filters on backends without UUID datatype. | |||
| 2019-09-23 | Refs #29915 -- Added tests for using pattern lookups with values without ↵ | Ian Foote | |
| hyphens for UUIDField. | |||
| 2019-09-04 | Fixed #27910 -- Added enumeration helpers for use in Field.choices. | Shai Berger | |
| These classes can serve as a base class for user enums, supporting translatable human-readable names, or names automatically inferred from the enum member name. Additional properties make it easy to access the list of names, values and display labels. Thanks to the following for ideas and reviews: Carlton Gibson, Fran Hrženjak, Ian Foote, Mariusz Felisiak, Shai Berger. Co-authored-by: Shai Berger <shai@platonix.com> Co-authored-by: Nick Pope <nick.pope@flightdataservices.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2019-08-20 | Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin ↵ | Nick Pope | |
| and refactored AutoFields. This reduces duplication by allowing AutoField, BigAutoField and SmallAutoField to inherit from IntegerField, BigIntegerField and SmallIntegerField respectively. Doing so also allows for enabling the max_length warning check and minimum/maximum value validation for auto fields, as well as providing a mixin that can be used for other possible future auto field types such as a theoretical UUIDAutoField. | |||
