| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2022-10-04 | Fixed #34012 -- Made QuerySet.order_by() apply transforms on related fields ↵ | David Sanders | |
| for models with Meta.ordering. This makes QuerySet.order_by() no longer ignore trailing transforms for models with Meta.ordering. As a consequence, FieldError is raised in such cases for non-existent fields. Thanks to Klaas van Schelven for the report and Mariusz Felisiak for the review and advice. | |||
| 2022-09-22 | Fixed #34015 -- Allowed filtering by transforms on relation fields. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-12-08 | Fixed #33319 -- Fixed crash when combining with the | operator querysets ↵ | Ömer Faruk Abacı | |
| with aliases that conflict. | |||
| 2021-10-08 | Fixed tests.queries.models.StaffUser.__str__(). | Jacob Walls | |
| 2020-10-27 | Fixed some queries tests when primary key values are large. | Tim Graham | |
| On CockroachDB, primary key values stored in these fields are larger than they accept. Fixes: queries.test_bulk_update.BulkUpdateNoteTests.test_multiple_fields, queries.test_bulk_update.BulkUpdateNoteTests.test_inherited_fields, and queries.tests.RelatedLookupTypeTests.test_values_queryset_lookup. | |||
| 2020-07-29 | Fixed #31783 -- Fixed crash when filtering againts "negate" field. | Hasan Ramezani | |
| Thanks Simon Charette for the initial patch. | |||
| 2020-07-06 | Fixed #23797 -- Fixed QuerySet.exclude() when rhs is a nullable column. | Jacob Walls | |
| 2020-06-08 | Fixed #31664 -- Reallowed using non-expressions having filterable attribute ↵ | Nicolas Baccelli | |
| as rhs in queryset filters. Regression in 4edad1ddf6203326e0be4bdb105beecb0fe454c4. | |||
| 2020-05-15 | Refs #13227 -- Adjusted a test to avoid making a shared test model unpickable. | Simon Charette | |
| This allowed the Note model to be used in setUpTestData() which requires assigned model instances to be copy.deepcopy()'able. | |||
| 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-05-04 | Changed `'%s' % value` pattern to `str(value)`. | Nick Pope | |
| 2019-09-09 | Refs #29444 -- Allowed returning multiple fields from INSERT statements on ↵ | Johannes Hoppe | |
| PostgreSQL. Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and Mariusz Felisiak for reviews. | |||
| 2019-07-10 | Fixed #30628 -- Adjusted expression identity to differentiate bound fields. | Simon Charette | |
| Expressions referring to different bound fields should not be considered equal. Thanks Julien Enselme for the detailed report. Regression in bc7e288ca9554ac1a0a19941302dea19df1acd21. | |||
| 2019-06-25 | Fixed #30477 -- Made reverse lookup use Field.get_db_prep_value() from the ↵ | can | |
| target field. | |||
| 2018-11-21 | Fixed #29974 -- Fixed non-truthy primary key values for QuerySet.bulk_update(). | Tom Forbes | |
| 2018-09-18 | Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models. | Tom Forbes | |
| 2018-03-20 | Fixed #29227 -- Allowed BooleanField to be null=True. | Tim Graham | |
| Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review. | |||
| 2018-01-20 | Refs #20487 -- Added test for querying mixed case fields with common related ↵ | Mariusz Felisiak | |
| model. Thanks Shai Berger for the review. | |||
| 2017-12-28 | Removed unnecessary trailing commas and spaces in various code. | Mariusz Felisiak | |
| 2017-04-23 | Fixed #28101 -- Fixed a regression with nested __in subquery lookups and ↵ | Simon Charette | |
| to_field. Thanks Kristian Klette for the report and Tim for the help. | |||
| 2017-03-06 | Fixed #26522 -- Fixed a nondeterministic AssertionError in QuerySet combining. | Bo Marchman | |
| Thanks Andrew Brown for the test case. | |||
| 2017-02-09 | Fixed #26551 -- Fixed negated Q() queries that span relations. | François Freitag | |
| Prevented queries from reusing trimmed joins. | |||
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-18 | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-09-09 | Refs #25415 -- Fixed invalid models in the test suite. | Adam Chainz | |
| 2016-08-17 | Refs #26983 -- Added test for isnull lookup to CharField with primary_key=True. | Chris Lamb | |
| 2015-12-03 | Fixed many spelling mistakes in code, comments, and docs. | Josh Soref | |
| 2015-09-05 | Fixed #24525 -- Fixed AssertionError in some complex queries. | Tim Graham | |
| Thanks Anssi Kääriäinen for providing the solution. | |||
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-07-13 | Refs #24090 -- Added a test for multi-table inheritance + subqueries. | Anssi Kääriäinen | |
| Ticket #24090 was already fixed by b68212f539f206679580afbfd008e7d329c9cd31, this commit adds tests to verify this is indeed the case. Thanks to Beauhurst for commissioning the work on this ticket. | |||
| 2015-04-16 | Fixed #24605 -- Fixed incorrect reference to alias in subquery. | Anssi Kääriäinen | |
| Thanks to charettes and priidukull for investigating the issue, and to kurevin for the report. | |||
| 2014-11-20 | Fixed #23605 -- Fixed nested subquery regression | Anssi Kääriäinen | |
| Added relabeled_clone() method to sql.Query to fix the problem. It manifested itself in rare cases where at least double nested subquery's filter condition might target non-existing alias. Thanks to Trac alias ris for reporting the problem. | |||
| 2014-10-28 | Fixed #23721 -- check_related_objects without calling __iter__ | Collin Anderson | |
| Refs #14334 | |||
| 2014-07-09 | Fixed #19671 -- Added warnings that null and validators are ignored for ↵ | Anubhav Joshi | |
| ManyToManyField. Thanks Loic Bistuer and Tim Graham for help and review. | |||
| 2014-07-01 | Fixed #14334 -- Query relation lookups now check object types. | Anubhav Joshi | |
| Thanks rpbarlow for the suggestion; and loic, akaariai, and jorgecarleitao for reviews. | |||
| 2014-06-25 | Split tests.basic.ModelTests in several tests; refs #18586. | zsoldosp | |
| 2014-05-05 | Fixed #22429 -- Incorrect SQL when using ~Q and F | Anssi Kääriäinen | |
| 2014-03-03 | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | |
| Thanks Piotr Kasprzyk for help with the patch. | |||
| 2014-01-28 | Added tests for m2m queries with custom pk on the end models | Anssi Kääriäinen | |
| It seems this case was fixed somewhere between 1.5.x and 1.6.x. I added tests as I wasn't able to find any tests for these cases. Refs #21879 | |||
| 2013-11-07 | Fixed #21376 -- New implementation for query join promotion logic | Anssi Kääriäinen | |
| This commit introduced a new class JoinPromoter that can be used to abstract away join promotion problems for complex filter conditions. Query._add_q() and Query.combine() now use the new class. Also, added a lot of comments about why join promotion is done the way it is. Thanks to Tim Graham for original report and testing the changes, and for Loic Bistuer for review. | |||
| 2013-11-02 | Fixing E302 Errors | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-11-02 | Fixed #14511 -- bug in .exclude() query | Anssi Kääriäinen | |
| 2013-10-01 | Fixed #21203 -- resolve_columns fields misalignment | Anssi Kääriäinen | |
| In queries using .defer() together with .select_related() the values and fields arguments didn't align properly for resolve_columns(). | |||
| 2013-09-29 | Fixed #15786 -- Added a regression test for o2o excludes using F(). | Simon Charette | |
| The issue was reported against 1.3.x but has been fixed since. | |||
| 2013-09-06 | Fixed #11811 -- Data-loss bug in queryset.update. | Aymeric Augustin | |
| It's now forbidden to call queryset.update(field=instance) when instance hasn't been saved to the database ie. instance.pk is None. | |||
| 2013-09-03 | Fixed "indentation is not a multiple of four" pep8 issues. | Tim Graham | |
