mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #33872 -- Removed django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
Per deprecation timeline.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user