1
0
mirror of https://github.com/django/django.git synced 2025-01-08 17:37:20 +00:00
django/tests/db_functions
Simon Charette 4d1420947e Fixed #30494 -- Disabled __year lookup optimization for indirect values.
The previous heuristics were naively enabling the BETWEEN optimization on
successful cast of the first rhs SQL params to an integer while it was
not appropriate for a lot of database resolved expressions.

Thanks Alexey Chernov for the report.
2019-05-21 07:11:26 +02:00
..
comparison Refs #28643 -- Added NullIf database function. 2019-01-10 12:10:12 -05:00
datetime Fixed #30494 -- Disabled __year lookup optimization for indirect values. 2019-05-21 07:11:26 +02:00
math Fixed #30271 -- Added the Sign database function. 2019-03-22 12:52:39 +01:00
migrations Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database functions. 2019-03-20 19:30:43 +01:00
text Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database functions. 2019-03-20 19:30:43 +01:00
window Reorganized window db function tests. 2018-08-16 09:32:42 -04:00
__init__.py
models.py Fixed #29648 -- Fixed crash when using subqueries inside datetime truncation functions. 2018-08-07 16:47:54 -04:00
tests.py Fixed #29658 -- Registered model lookups in tests with a context manager. 2018-08-21 12:17:46 -04:00