1
0
mirror of https://github.com/django/django.git synced 2025-01-09 01:46:20 +00:00
django/tests/schema
Simon Charette 73b62a2126 Refs #35194 -- Adjusted a generated field test to work on Postgres 15.6+.
Postgres >= 12.18, 13.14, 14.11, 15.6, 16.2 changed the way the immutability
of generated and default expressions is detected in postgres/postgres@743ddaf.

The adjusted test semantic is presereved by switching from __icontains to
__contains as both make use of a `%` literal which requires proper escaping.

Refs #35336.

Thanks bcail for the report.
2024-04-12 10:23:04 +02:00
..
__init__.py
fields.py Applied Black's 2024 stable style. 2024-01-26 12:45:07 +01:00
models.py Refs #27236 -- Moved models with Meta.index_together inside of test methods. 2022-06-03 06:32:11 +02:00
test_logging.py Fixed #33308 -- Added support for psycopg version 3. 2022-12-15 06:17:57 +01:00
tests.py Refs #35194 -- Adjusted a generated field test to work on Postgres 15.6+. 2024-04-12 10:23:04 +02:00