o
    ÔŸŽiõ	  ã                   @   s„   d dl Z d dlmZmZmZ d dlmZ d dlmZ g d¢Z	G dd„ dƒZ
G dd	„ d	e
eƒZG d
d„ de
eƒZG dd„ de
eƒZdS )é    N)Ú	CharFieldÚ
EmailFieldÚ	TextField)Úignore_warnings)ÚRemovedInDjango51Warning)ÚCICharFieldÚCIEmailFieldÚCITextÚCITextFieldc                       s0   e Zd Z‡ fdd„Z‡ fdd„Zdd„ Z‡  ZS )r	   c                    s&   t jdtdd� tƒ j|i |¤Ž d S )Nz:django.contrib.postgres.fields.CIText mixin is deprecated.é   )Ú
stacklevel)ÚwarningsÚwarnr   ÚsuperÚ__init__©ÚselfÚargsÚkwargs©Ú	__class__© úoC:\Users\psant\Downloads\Anu Raj Backend\school\venv\Lib\site-packages\django/contrib/postgres/fields/citext.pyr      s   ýzCIText.__init__c                    s   dt ƒ  ¡  S )NÚCI)r   Úget_internal_type)r   r   r   r   r      s   zCIText.get_internal_typec                 C   s   dS )NZcitextr   )r   Ú
connectionr   r   r   Údb_type   s   zCIText.db_type)Ú__name__Ú
__module__Ú__qualname__r   r   r   Ú__classcell__r   r   r   r   r	      s    r	   c                       ó(   e Zd ZddddœZ‡ fdd„Z‡  ZS )r   z‰django.contrib.postgres.fields.CICharField is deprecated. Support for it (except in historical migrations) will be removed in Django 5.1.u^   Use CharField(db_collation="â€¦") with a case-insensitive non-deterministic collation instead.zfields.W905©ÚmsgÚhintÚidc                    óB   t td�� tƒ j|i |¤Ž W d   ƒ d S 1 sw   Y  d S ©N)Úcategory©r   r   r   r   r   r   r   r   r   (   ó   "ÿzCICharField.__init__©r   r   r   Zsystem_check_deprecated_detailsr   r    r   r   r   r   r      ó    ÷r   c                       r!   )r   zŠdjango.contrib.postgres.fields.CIEmailField is deprecated. Support for it (except in historical migrations) will be removed in Django 5.1.u_   Use EmailField(db_collation="â€¦") with a case-insensitive non-deterministic collation instead.zfields.W906r"   c                    r&   r'   r)   r   r   r   r   r   :   r*   zCIEmailField.__init__r+   r   r   r   r   r   -   r,   r   c                       r!   )r
   z‰django.contrib.postgres.fields.CITextField is deprecated. Support for it (except in historical migrations) will be removed in Django 5.1.u^   Use TextField(db_collation="â€¦") with a case-insensitive non-deterministic collation instead.zfields.W907r"   c                    r&   r'   r)   r   r   r   r   r   L   r*   zCITextField.__init__r+   r   r   r   r   r
   ?   r,   r
   )r   Zdjango.db.modelsr   r   r   Zdjango.test.utilsr   Zdjango.utils.deprecationr   Ú__all__r	   r   r   r
   r   r   r   r   Ú<module>   s    