diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-08-03 11:42:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-03 11:42:51 +0200 |
| commit | cb791a2540c289390b68a3ea9c6a79476890bab2 (patch) | |
| tree | a09b63477f9fcce4e56636978236ef10c68ff891 /django/db/backends/postgresql/operations.py | |
| parent | 09e837c5d93d8ac22697e711901a63ead59c9fd4 (diff) | |
Fixed #33872 -- Deprecated django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
Diffstat (limited to 'django/db/backends/postgresql/operations.py')
| -rw-r--r-- | django/db/backends/postgresql/operations.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py index e8eb06c9e2..2303703ebc 100644 --- a/django/db/backends/postgresql/operations.py +++ b/django/db/backends/postgresql/operations.py @@ -142,6 +142,7 @@ class DatabaseOperations(BaseDatabaseOperations): ): if internal_type in ("IPAddressField", "GenericIPAddressField"): lookup = "HOST(%s)" + # RemovedInDjango51Warning. elif internal_type in ("CICharField", "CIEmailField", "CITextField"): lookup = "%s::citext" else: |
