mirror of
https://github.com/django/django.git
synced 2025-07-28 23:54:02 +00:00
Refs #33872 -- Removed django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
Per deprecation timeline.
This commit is contained in:
parent
6e4e5523a8
commit
04eb1b4567
12 changed files with 49 additions and 286 deletions
|
@ -7,9 +7,6 @@ import enum
|
|||
from django.db import models
|
||||
|
||||
try:
|
||||
from django.contrib.postgres.fields import CICharField # RemovedInDjango51Warning.
|
||||
from django.contrib.postgres.fields import CIEmailField # RemovedInDjango51Warning.
|
||||
from django.contrib.postgres.fields import CITextField # RemovedInDjango51Warning.
|
||||
from django.contrib.postgres.fields import (
|
||||
ArrayField,
|
||||
BigIntegerRangeField,
|
||||
|
@ -47,9 +44,6 @@ except ImportError:
|
|||
|
||||
ArrayField = DummyArrayField
|
||||
BigIntegerRangeField = models.Field
|
||||
CICharField = models.Field # RemovedInDjango51Warning.
|
||||
CIEmailField = models.Field # RemovedInDjango51Warning.
|
||||
CITextField = models.Field # RemovedInDjango51Warning.
|
||||
DateRangeField = models.Field
|
||||
DateTimeRangeField = DummyContinuousRangeField
|
||||
DecimalRangeField = DummyContinuousRangeField
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue