mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Fixed #33872 -- Deprecated django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
This commit is contained in:
parent
09e837c5d9
commit
cb791a2540
15 changed files with 228 additions and 21 deletions
|
|
@ -119,6 +119,7 @@ class Character(models.Model):
|
|||
name = models.CharField(max_length=255)
|
||||
|
||||
|
||||
# RemovedInDjango51Warning.
|
||||
class CITestModel(PostgreSQLModel):
|
||||
name = CICharField(primary_key=True, max_length=255)
|
||||
email = CIEmailField()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue