Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #28553 -- Fixed annotation mismatch with ↵ | David Wobrock | 2023-03-24 | 1 | -2/+2 |
| | | | | | | QuerySet.values()/values_list() on compound queries. Co-authored-by: Matthias Kestenholz <mk@feinheit.ch> | ||||
* | Fixed #34346 -- Ordered selected expressions by position. | Simon Charette | 2023-02-20 | 1 | -2/+1 |
| | | | | | | | | | Used the same approach as for #34176 by using selected expressions position to prevent ambiguous aliases in collisions. Thanks henribru for the report. Regression in 04518e310d4552ff7595a34f5a7f93487d78a406. | ||||
* | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | 2023-02-01 | 1 | -1/+0 |
| | | | | | | | | 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 | ||||
* | Fixed #34176 -- Fixed grouping by ambiguous aliases. | Simon Charette | 2023-01-09 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | Regression in b7b28c7c189615543218e81319473888bc46d831. Refs #31377. Thanks Shai Berger for the report and reviews. test_aggregation_subquery_annotation_values_collision() has been updated as queries that are explicitly grouped by a subquery should always be grouped by it and not its outer columns even if its alias collides with referenced table columns. This was not possible to accomplish at the time 10866a10 landed because we didn't have compiler level handling of colliding aliases. | ||||
* | Fixed #14094 -- Added support for unlimited CharField on PostgreSQL. | Adrian Torres | 2022-12-28 | 1 | -4/+4 |
| | | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #33308 -- Added support for psycopg version 3. | Daniele Varrazzo | 2022-12-15 | 1 | -1/+1 |
| | | | | | | | Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Refs #33308 -- Moved psycopg2 imports to the psycopg_any module. | Florian Apolloner | 2022-12-12 | 1 | -2/+1 |
| | |||||
* | Refs #33308 -- Ensured type handlers are registered for all PostgreSQL ↵ | Florian Apolloner | 2022-12-01 | 1 | -8/+1 |
| | | | | | | specific tests. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Fixed #26056 -- Added QuerySet.values()/values_list() support for ↵ | Ben Cail | 2022-11-18 | 1 | -0/+15 |
| | | | | | | ArrayField's __overlap lookup. Thanks Mads Jensen and kosz85 and the initial patch. | ||||
* | Fixed #34080 -- Fixed __exact lookup when nested arrays contain only NULL ↵ | Ion Alberdi | 2022-11-03 | 1 | -0/+18 |
| | | | | | | values. Thanks jerch and David Sanders for reviews. | ||||
* | Refs #34080 -- Added tests for __exact lookup when non-nested arrays contain ↵ | Ion Alberdi | 2022-11-03 | 1 | -0/+12 |
| | | | | only NULL values. | ||||
* | Removed hardcoded pks in TestQuerying.test_group_by_order_by_aliases test. | Mariusz Felisiak | 2022-10-07 | 1 | -3/+3 |
| | |||||
* | Refs #33308 -- Enabled explicit GROUP BY and ORDER BY aliases. | Simon Charette | 2022-10-06 | 1 | -1/+27 |
| | | | | | | | This ensures explicit grouping from using values() before annotating an aggregate function groups by selected aliases if supported. The GROUP BY feature is disabled on Oracle because it doesn't support it. | ||||
* | Fixed #33927 -- Fixed crash when displaying ArrayField with choices in admin. | David Wobrock | 2022-08-23 | 1 | -0/+37 |
| | |||||
* | Refs #32339 -- Deprecated default.html form template. | David Smith | 2022-05-17 | 1 | -8/+6 |
| | | | | Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | ||||
* | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | 2022-02-22 | 1 | -3/+1 |
| | | | | 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 | 1 | -10/+28 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -352/+450 |
| | |||||
* | Refs #32355 -- Bumped required psycopg2 version to 2.8.4. | Mariusz Felisiak | 2021-12-22 | 1 | -3/+0 |
| | | | psycopg2 2.8.4 is the first release to support Python 3.8. | ||||
* | Fixed #32776 -- Added support for Array subqueries on PostgreSQL. | Hannes Ljungberg | 2021-07-06 | 1 | -1/+62 |
| | |||||
* | Refs #27095 -- Fixed test_contained_by_including_F_object when run in reverse. | Mariusz Felisiak | 2020-12-03 | 1 | -6/+6 |
| | | | | | Tests should not rely on auto PKs. Test regression in 33403bf80f635577a18426bc99c8a65e31fd8dfa. | ||||
* | Fixed #25534, Fixed #31639 -- Added support for transform references in ↵ | Ian Foote | 2020-11-27 | 1 | -0/+16 |
| | | | | | | expressions. Thanks Mariusz Felisiak and Simon Charette for reviews. | ||||
* | Refs #27095 -- Allowed (non-nested) arrays containing expressions for ↵ | Hannes Ljungberg | 2020-11-26 | 1 | -8/+29 |
| | | | | ArrayField lookups. | ||||
* | Added test for ArrayField's __contains lookup with subqueries. | Hannes Ljungberg | 2020-11-26 | 1 | -1/+14 |
| | |||||
* | Bumped minimum isort version to 5.1.0. | David Smith | 2020-07-30 | 1 | -2/+5 |
| | | | | | Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. | ||||
* | Defined output_field of Func() in ↵ | Simon Charette | 2020-06-24 | 1 | -1/+3 |
| | | | | | | | | test_grouping_by_annotations_with_array_field_param(). output_field cannot be automatically determined because the first argument passed to ARRAY_LEN is an ArrayField and the second one is an integer. | ||||
* | Fixed #31073 -- Prevented CheckboxInput.get_context() from mutating attrs. | Peter Andersen | 2019-12-10 | 1 | -0/+11 |
| | |||||
* | Fixed #24858 -- Added support for get_FOO_display() to ArrayField and ↵ | Hasan Ramezani | 2019-11-08 | 1 | -0/+47 |
| | | | | | | RangeFields. _get_FIELD_display() crashed when Field.choices was unhashable. | ||||
* | Fixed #30095 -- Fixed system check for RangeField/ArrayField.choices with ↵ | Hasan Ramezani | 2019-11-05 | 1 | -0/+14 |
| | | | | lists and tuples. | ||||
* | Refs #27808 -- Added test for saving nested ArrayField with nullable base field. | Hasan Ramezani | 2019-11-01 | 1 | -0/+9 |
| | |||||
* | Fixed #30907 -- Fixed SplitArrayField.has_changed() with removal of empty ↵ | Pavel Dedik | 2019-10-28 | 1 | -0/+20 |
| | | | | trailing values. | ||||
* | Refs #30907 -- Added more tests for SplitArrayField.has_changed(). | Pavel Dedik | 2019-10-28 | 1 | -3/+13 |
| | |||||
* | Refs #12990 -- Moved CheckFieldDefaultMixin to the ↵ | sage | 2019-10-17 | 1 | -1/+1 |
| | | | | django.db.models.fields.mixins. | ||||
* | Fixed #30715 -- Fixed crash of ArrayField lookups on ArrayAgg annotations ↵ | Mariusz Felisiak | 2019-08-23 | 1 | -0/+22 |
| | | | | over AutoField. | ||||
* | Added tests for using ArrayField's IndexTransform/SliceTransform on ↵ | Mariusz Felisiak | 2019-08-05 | 1 | -0/+22 |
| | | | | expressions with params. | ||||
* | Fixed #30596 -- Fixed SplitArrayField.has_changed() for non-string base fields. | Chason Chaffin | 2019-07-03 | 1 | -0/+12 |
| | | | | | Thanks to Evgeniy Krysanov for the report and the idea to use to_python. Thanks to Mariusz Felisiak for the test case. | ||||
* | Refs #28762 -- Added test for aggregating over a function with ArrayField ↵ | Tomer Chachamu | 2019-04-18 | 1 | -0/+11 |
| | | | | | | parameters. Fixed in d87bd29c4f8dfcdf3f4a4eb8340e6770a2416fe3. | ||||
* | Refs #28767 -- Added test for annotating Value() with empty list as an ↵ | Mariusz Felisiak | 2019-04-18 | 1 | -0/+8 |
| | | | | | ArrayField. Fixed in 3af695eda24b874486ee8be7e0d729761b3bdc71. | ||||
* | Fixed #29391 -- Made PostgresSimpleLookup respect Field.get_db_prep_value(). | Vinay Karanam | 2019-02-09 | 1 | -3/+14 |
| | |||||
* | Adjusted code style of a few test data setup methods. | Simon Charette | 2018-11-27 | 1 | -5/+1 |
| | | | | Thanks Mariusz for suggesting it. | ||||
* | Switched setUp() to setUpTestData() where possible in Django's tests. | Simon Charette | 2018-11-27 | 1 | -26/+29 |
| | |||||
* | Switched TestCase to SimpleTestCase where possible in Django's tests. | Tim Graham | 2018-11-27 | 1 | -6/+8 |
| | |||||
* | Fixed #28291, #24726 -- Fixed ArrayField with JSONField and RangeFields. | vinay karanam | 2018-07-27 | 1 | -0/+13 |
| | |||||
* | Refs #29131 -- Made ArrayField error messages index from 1 instead of 0. | Hasan Ramezani | 2018-04-22 | 1 | -16/+16 |
| | |||||
* | Fixed #28950 -- Fixed ArrayField.has_changed() for empty values. | Vinay Karanam | 2018-04-07 | 1 | -0/+8 |
| | |||||
* | Added tests for ArrayField.has_changed(). | Vinay Karanam | 2018-04-07 | 1 | -0/+7 |
| | |||||
* | Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields). | Matthew Wilkes | 2018-02-10 | 1 | -0/+16 |
| | |||||
* | Fixed #29038 -- Removed closing slash from HTML void tags. | Jon Dufresne | 2018-01-21 | 1 | -7/+7 |
| | |||||
* | Fixed #28749 -- Added subquery support for ArrayField's __in lookup. | Michał Pasternak | 2017-11-01 | 1 | -0/+9 |
| | |||||
* | Fixed #28577 -- Added checks for ArrayField and JSONField to prevent mutable ↵ | Flávio Juvenal | 2017-10-20 | 1 | -1/+33 |
| | | | | defaults. |