Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude(). | Matthew Schinckel | 2019-08-29 | 1 | -1/+4 |
| | | | | | | | | | | | This allows using expressions that have an output_field that is a BooleanField to be used directly in a queryset filters, or in the When() clauses of a Case() expression. Thanks Josh Smeaton, Tim Graham, Simon Charette, Mariusz Felisiak, and Adam Johnson for reviews. Co-Authored-By: NyanKiyoshi <hello@vanille.bid> | ||||
* | Added tests for raising an error when passing non-boolean expression to When(). | Mariusz Felisiak | 2019-08-29 | 1 | -0/+2 |
| | |||||
* | Fixed #29227 -- Allowed BooleanField to be null=True. | Tim Graham | 2018-03-20 | 2 | -1/+15 |
| | | | | Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review. | ||||
* | Fixed #29166 -- Fixed crash in When() expression with a list argument. | Mariusz Felisiak | 2018-02-28 | 1 | -0/+18 |
| | | | | | Thanks Matthew Pava for the report and Tim Graham and Carlton Gibson for reviews. Regression in 19b2dfd1bfe7fd716dd3d8bfa5f972070d83b42f. | ||||
* | Fixed #28731 -- Added an error message when using an empty Q() in a When ↵ | Tim Martin | 2017-12-26 | 1 | -0/+5 |
| | | | | | | expression. Otherwise it generates invalid SQL. | ||||
* | Refs #24031 -- Added test for Case and When constructor arguments. | Mads Jensen | 2017-10-20 | 1 | -1/+15 |
| | |||||
* | Fixed #28584 -- Dropped support for SQLite < 3.7.15. | Tim Graham | 2017-10-03 | 1 | -7/+1 |
| | |||||
* | Fixed #27849 -- Added filtering support to aggregates. | Tom | 2017-08-12 | 1 | -0/+9 |
| | |||||
* | Refs #23919 -- Removed misc references to Python 2. | Tim Graham | 2017-01-21 | 1 | -2/+0 |
| | |||||
* | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | 2017-01-18 | 1 | -4/+3 |
| | | | | Thanks Tim Graham and Simon Charette for the reviews. | ||||
* | Refs #23919 -- Removed python_2_unicode_compatible decorator usage | Claude Paroz | 2017-01-18 | 1 | -5/+0 |
| | |||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 2 | -4/+0 |
| | |||||
* | Refs #26154 -- Removed deprecated CommaSeparatedIntegerField. | Tim Graham | 2017-01-17 | 2 | -15/+0 |
| | |||||
* | Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter(). | Jonatas CD | 2016-11-17 | 1 | -0/+14 |
| | |||||
* | Fixed #26433 -- Fixed Case expressions with empty When. | Johannes Dollinger | 2016-08-08 | 1 | -0/+10 |
| | |||||
* | Sorted single letter imports per the latest version of isort. | Tim Graham | 2016-03-28 | 1 | -1/+1 |
| | |||||
* | Refs #26071 -- Added test for __in lookup in a Case expression. | Alberto Avila | 2016-01-13 | 1 | -1/+12 |
| | | | | Forwardport of 5b3c66d8b64add684489f5010e43de73e7acdd04 from stable/1.8.x | ||||
* | Fixed #25316 -- Fixed a crash with order_by() and values() after annotate(). | varunnaganathan | 2016-01-02 | 1 | -0/+12 |
| | |||||
* | Fixed many spelling mistakes in code, comments, and docs. | Josh Soref | 2015-12-03 | 1 | -1/+1 |
| | |||||
* | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | 2015-09-12 | 1 | -3/+16 |
| | |||||
* | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | 2015-07-27 | 1 | -3/+3 |
| | | | | ForeignKey/OneToOneField | ||||
* | Fixed #24924 -- Join promotion for multiple Case expressions | Mark Lavin | 2015-06-05 | 1 | -0/+42 |
| | |||||
* | Refs #24833 -- Forwardported some of "Fixed Case expressions with exclude()." | Andriy Sokolovskiy | 2015-06-05 | 1 | -0/+12 |
| | | | | | Partial forwardport of 469f1e362bb9670b174b37da9edd4631aff7badb from stable/1.8.x as the issue was already fixed in master. | ||||
* | Fixed #24705 -- Fixed negated Q objects in expressions. | Anssi Kääriäinen | 2015-05-20 | 1 | -0/+42 |
| | | | | Avoided split_exclude() for Q when used as an expression. | ||||
* | Fixed #24766 -- Added join promotion for Case expressions | Anssi Kääriäinen | 2015-05-11 | 1 | -0/+32 |
| | |||||
* | Fixed #24752 -- query crash when reusing Case expressions | Anssi Kääriäinen | 2015-05-05 | 1 | -0/+12 |
| | | | | | Case expressions weren't copied deep enough (self.cases list was reused resulting in an error). | ||||
* | Fixed #24420 -- Allowed ordering by case expressions | Josh Smeaton | 2015-03-06 | 1 | -0/+24 |
| | |||||
* | Refs #14030 -- Improved expression support for python values | Josh Smeaton | 2015-02-12 | 1 | -60/+60 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -4/+4 |
| | |||||
* | Removed IPAddressField per deprecation timeline; refs #20439. | Tim Graham | 2015-01-19 | 2 | -16/+0 |
| | |||||
* | Fixed #24148 -- Documented a bug with case expressions in SQLite < 3.7.0 | Michał Modzelewski | 2015-01-15 | 1 | -1/+7 |
| | |||||
* | Made an expressions_case test work without Pillow. | Collin Anderson | 2015-01-15 | 2 | -1/+14 |
| | |||||
* | Fixed #24031 -- Added CASE expressions to the ORM. | Michał Modzelewski | 2015-01-12 | 3 | -0/+1163 |