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
|
@ -3,9 +3,6 @@ from django.db import migrations, models
|
|||
from ..fields import (
|
||||
ArrayField,
|
||||
BigIntegerRangeField,
|
||||
CICharField,
|
||||
CIEmailField,
|
||||
CITextField,
|
||||
DateRangeField,
|
||||
DateTimeRangeField,
|
||||
DecimalRangeField,
|
||||
|
@ -290,23 +287,6 @@ class Migration(migrations.Migration):
|
|||
options=None,
|
||||
bases=None,
|
||||
),
|
||||
# RemovedInDjango51Warning.
|
||||
migrations.CreateModel(
|
||||
name="CITestModel",
|
||||
fields=[
|
||||
(
|
||||
"name",
|
||||
CICharField(primary_key=True, serialize=False, max_length=255),
|
||||
),
|
||||
("email", CIEmailField()),
|
||||
("description", CITextField()),
|
||||
("array_field", ArrayField(CITextField(), null=True)),
|
||||
],
|
||||
options={
|
||||
"required_db_vendor": "postgresql",
|
||||
},
|
||||
bases=None,
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name="Line",
|
||||
fields=[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue