Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵ | Gregor Gärtner | 2022-10-08 | 1 | -76/+76 |
| | | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com> | ||||
* | Fixed #33895 -- Fixed Case() crash with filters that match everything in When(). | David Wobrock | 2022-08-09 | 1 | -0/+10 |
| | | | | Thanks shukryzablah for the report. | ||||
* | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | 2022-02-22 | 1 | -29/+29 |
| | | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager. | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 2 | -519/+849 |
| | |||||
* | Fixed #33257 -- Fixed Case() and ExpressionWrapper() with decimal values on ↵ | Matthijs Kooijman | 2021-11-08 | 1 | -0/+9 |
| | | | | SQLite. | ||||
* | Refs #31369 -- Removed models.NullBooleanField per deprecation timeline. | Mariusz Felisiak | 2021-01-14 | 2 | -14/+0 |
| | |||||
* | Replaced @no_oracle skips with DatabaseFeatures.allows_group_by_lob. | Tim Graham | 2020-10-22 | 1 | -9/+13 |
| | |||||
* | Fixed #32126 -- Fixed grouping by Case() annotation without cases. | Hannes Ljungberg | 2020-10-21 | 1 | -0/+25 |
| | | | | Co-authored-by: Simon Charette <charettes@users.noreply.github.com> | ||||
* | Refs #30446 -- Removed unnecessary Value(..., output_field) in docs and tests. | Simon Charette | 2020-07-15 | 1 | -78/+17 |
| | |||||
* | Stopped adapting DecimalField values to strings on PostgreSQL. | Simon Charette | 2020-07-14 | 1 | -4/+4 |
| | | | | The psycopg2 backend uses the type information to provide type hints. | ||||
* | Fixed #31606 -- Allowed using condition with lookups in When() expression. | Ryan Heard | 2020-05-27 | 1 | -1/+14 |
| | |||||
* | Removed unused __str__() methods in tests models. | Mariusz Felisiak | 2020-04-30 | 1 | -12/+0 |
| | | | Follow up to 6461583b6cc257d25880ef9a9fd7e2125ac53ce1. | ||||
* | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | 2020-02-04 | 1 | -86/+88 |
| | |||||
* | Fixed #30987 -- Added models.PositiveBigIntegerField. | Caio Ariede | 2019-11-19 | 2 | -0/+14 |
| | |||||
* | 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 |