| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-02-03 | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | |
| In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | |||
| 2022-02-02 | Fixed #33482 -- Fixed QuerySet filtering againts negated Exists() with empty ↵ | Simon Charette | |
| queryset. Thanks Tobias Bengfort for the report. | |||
| 2022-01-17 | Fixed #33435 -- Fixed invalid SQL generatered by Subquery.as_sql(). | My-Name-Is-Nabil | |
| 2022-01-07 | Fixed #33216 -- Simpilified deconstructed paths for some expressions. | Allen Jonathan David | |
| 2022-01-04 | Fixed #33406 -- Avoided creation of MaxLengthValidator(None) when resolving ↵ | Keryn Knight | |
| Value.output_field for strings. This brings the behaviour in line with Field subclasses which append to the validators within __init__(), like BinaryField, and prevents the creation of a validator which incorrectly throws a TypeError, if it were used. | |||
| 2022-01-04 | Refs #33406 -- Added test for not creating broken validators when resolving ↵ | Keryn Knight | |
| Value.output_field. | |||
| 2021-12-22 | Refs #33355 -- Added missing tests for database functions and expression on ↵ | Adam Johnson | |
| null values. | |||
| 2021-11-08 | Fixed #33257 -- Fixed Case() and ExpressionWrapper() with decimal values on ↵ | Matthijs Kooijman | |
| SQLite. | |||
| 2021-11-02 | Fixed #33224 -- Removed ↵ | Hasan Ramezani | |
| DatabaseFeatures.supports_mixed_date_datetime_comparisons. | |||
| 2021-10-26 | Removed duplicated lines in ↵ | Tim Graham | |
| test_in_lookup_allows_F_expressions_and_expressions_for_datetimes(). | |||
| 2021-10-21 | Made F deconstruction omit 'expressions' in the path. | Adam Johnson | |
| 2021-06-01 | Fixed #32793 -- Fixed loss of precision for temporal operations with ↵ | Mariusz Felisiak | |
| DecimalFields on MySQL. Regression in 1e38f1191de21b6e96736f58df57dfb851a28c1f. Thanks Mohsen Tamiz for the report. | |||
| 2021-05-24 | Refs #24121 -- Improved Value.__repr__(). | Mariusz Felisiak | |
| 2021-05-24 | Fixed typo in tests/expressions/tests.py. | Mariusz Felisiak | |
| 2021-05-05 | Fixed #32714 -- Prevented recreation of migration for Meta.ordering with ↵ | Simon Charette | |
| OrderBy expressions. Regression in c8b659430556dca0b2fe27cf2ea0f8290dbafecd. Thanks Kevin Marsh for the report. | |||
| 2021-04-20 | Refs #25287 -- Added support for multiplying and dividing DurationField by ↵ | Tobias Bengfort | |
| scalar values on SQLite. | |||
| 2021-03-29 | Fixed #32585 -- Fixed Value() crash with DecimalField on SQLite. | Hasan Ramezani | |
| 2021-03-17 | Fixed #32548 -- Fixed crash when combining Q() objects with boolean expressions. | Jonathan Richards | |
| 2021-03-17 | Refs #32548 -- Added tests for passing conditional expressions to Q(). | Mariusz Felisiak | |
| 2021-02-18 | Fixed #32455 -- Allowed right combining Q() with boolean expressions. | Hasan Ramezani | |
| 2021-02-18 | Refs #32455 -- Added tests for left combining an empty Q() with boolean ↵ | Mariusz Felisiak | |
| expressions. | |||
| 2021-01-26 | Refs #26602 -- Added tests for aggregating over a RawSQL() annotation. | Mariusz Felisiak | |
| Fixed in 3f32154f40a855afa063095e3d091ce6be21f2c5. Thanks Manav Agarwal for initial test. | |||
| 2021-01-14 | Refs #30158 -- Made alias argument required in signature of ↵ | Mariusz Felisiak | |
| Expression.get_group_by_cols() subclasses. Per deprecation timeline. | |||
| 2020-12-10 | Fixed #32178 -- Allowed database backends to skip tests and mark expected ↵ | Hasan Ramezani | |
| failures. Co-authored-by: Tim Graham <timograham@gmail.com> | |||
| 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-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-10-23 | Fixed #32134 -- Fixed crash of __range lookup with namedtuple. | Adam Johnson | |
| Regression in 8be79984dce7d819879a6e594ca69c5f95a08378. Thanks Gordon Wrigley for the report. | |||
| 2020-10-19 | Relaxed some query ordering assertions in expressions tests. | Tim Graham | |
| It accounts for differences seen on CockroachDB. | |||
| 2020-10-02 | Fixed #32060 -- Added Random database function. | Nick Pope | |
| 2020-08-31 | Fixed #31919 -- Resolved output_field of IntegerField subclasses combinations. | Simon Charette | |
| 2020-08-31 | Refs #30446 -- Added tests for resolving output_field of CombinedExpression. | Simon Charette | |
| 2020-08-13 | Fixed #31792 -- Made Exists() reuse QuerySet.exists() optimizations. | Simon Charette | |
| The latter is already optimized to limit the number of results, avoid selecting unnecessary fields, and drop ordering if possible without altering the semantic of the query. | |||
| 2020-07-15 | Refs #30446 -- Removed unnecessary Value(..., output_field) in docs and tests. | Simon Charette | |
| 2020-07-15 | Fixed #30446 -- Resolved Value.output_field for stdlib types. | Simon Charette | |
| This required implementing a limited form of dynamic dispatch to combine expressions with numerical output. Refs #26355 should eventually provide a better interface for that. | |||
| 2020-07-14 | Refs #25425 -- Allowed unresolved Value() instances to be compiled. | Simon Charette | |
| Previously unresolved Value() instances were only allowed to be compiled if they weren't initialized with an output_field. Given the usage of unresolved Value() instances is relatively common in as_sql() overrides it's less controversial to add explicit support for this previously undefined behavior now and revisit whether or not it should be deprecated in the future. | |||
| 2020-07-01 | Fixed #31755 -- Made temporal subtraction resolve output field. | Sergey Fedoseev | |
| 2020-07-01 | Refs #28621 -- Fixed crash of annotations with nested OuterRef. | Sergey Fedoseev | |
| 2020-06-30 | Fixed #28925 -- Fixed durations-only expressions crash on SQLite and MySQL. | Sergey Fedoseev | |
| This removes also unused DatabaseOperations.date_interval_sql(). | |||
| 2020-06-12 | Fixed #31659 -- Made ExpressionWrapper preserve output_field for combined ↵ | Mariusz Felisiak | |
| expressions. Regression in df32fd42b84cc6dbba173201f244491b0d154a63. Thanks Simon Charette for the review. | |||
| 2020-06-03 | Fixed #31651 -- Made ExpressionWrapper use grouping columns from wrapped ↵ | Thodoris Sotiropoulos | |
| expression. | |||
| 2020-05-19 | Fixed #31607 -- Fixed evaluated Subquery equality. | Mariusz Felisiak | |
| Regression in 691def10a0197d83d2d108bd9043b0916d0f09b4. | |||
| 2020-05-04 | Changed `'%s' % value` pattern to `str(value)`. | Nick Pope | |
| 2020-04-30 | Removed unused __str__() methods in tests models. | Mariusz Felisiak | |
| Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1. | |||
| 2020-04-06 | Fixed #31420 -- Fixed crash when filtering subquery annotation against a ↵ | Hasan Ramezani | |
| SimpleLazyObject. Thanks Simon Charette for the solution and analysis. | |||
| 2020-04-04 | Fixed #31415 -- Fixed crash when nested OuterRef is used with operators or ↵ | Hasan Ramezani | |
| in database functions. | |||
| 2020-03-25 | Removed unnecessary assertions in ExpressionOperatorTests. | Mariusz Felisiak | |
| These tests don't modify Number.float field. | |||
| 2020-03-25 | Fixed #31396 -- Added binary XOR operator to F expressions. | Hannes Ljungberg | |
| 2020-02-27 | Fixed #31251 -- Disabled grouping by OuterRef() annotation. | Rohit | |
| 2020-02-27 | Fixed #31312 -- Properly ordered temporal subtraction params on MySQL. | Simon Charette | |
| Regression in 9bcbcd599abac91ea853b2fe10b784ba32df043e. Thanks rick2ricks for the report. | |||
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
