django.contrib.postgres.fields.citext のソースコード

from django.db.models import CharField, EmailField, TextField

__all__ = ['CICharField', 'CIEmailField', 'CIText', 'CITextField']


[ドキュメント]class CIText: def get_internal_type(self): return 'CI' + super().get_internal_type() def db_type(self, connection): return 'citext'
[ドキュメント]class CICharField(CIText, CharField): pass
[ドキュメント]class CIEmailField(CIText, EmailField): pass
[ドキュメント]class CITextField(CIText, TextField): pass
Back to Top