CICharField
This class provides a case-insensitive character field for PostgreSQL databases. It is currently deprecated and maintained primarily for historical migration support, with a recommendation to use standard character fields with specific database collations instead.
Attributes
| Attribute | Type | Description |
|---|---|---|
| system_check_removed_details | dict = {"msg": "django.contrib.postgres.fields.CICharField is removed except for support in historical migrations.", "hint": "Use CharField(db_collation="…") with a case-insensitive non-deterministic collation instead.", "id": "fields.E905"} | A dictionary containing the error message, hint, and identifier used to notify users that CICharField is deprecated and should be replaced with CharField using a case-insensitive collation. |
Constructor
Signature
def CICharField()
Methods
system_check_removed_details()
def system_check_removed_details() - > dict
Provides metadata for the system check framework regarding the removal of CICharField. This dictionary contains the error message, a hint for migration to db_collation, and a specific error ID for diagnostic purposes.
Returns
| Type | Description |
|---|---|
dict | A dictionary containing the deprecation message, migration hint, and error identifier. |