django/tests/expressions
Simon Charette f783a99072 Refs #25425 -- Allowed unresolved Value() instances to be compiled.
Previously unresolved Value() instances were only allowed to be
compiled if they weren't initialized with an output_field.

Given the usage of unresolved Value() instances is relatively common in
as_sql() overrides it's less controversial to add explicit support for
this previously undefined behavior now and revisit whether or not it
should be deprecated in the future.
2020-07-14 07:20:20 +02:00
..
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py Changed '%s' % value pattern to str(value). 2020-05-04 08:27:18 +02:00
test_deprecation.py Refs #30158 -- Added alias argument to Expression.get_group_by_cols(). 2019-03-21 18:47:46 -04:00
test_queryset_values.py Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
tests.py Refs #25425 -- Allowed unresolved Value() instances to be compiled. 2020-07-14 07:20:20 +02:00