• 2.0
  • dev
  • Documentation version: 1.11

Código fonte para django.contrib.postgres.fields.citext

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

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


[documentos]class CIText(object): def get_internal_type(self): return 'CI' + super(CIText, self).get_internal_type() def db_type(self, connection): return 'citext'
[documentos]class CICharField(CIText, CharField): pass
[documentos]class CIEmailField(CIText, EmailField): pass
[documentos]class CITextField(CIText, TextField): pass
Back to Top