U
    O+|jõ	  ã                   @   sˆ   d dl Z d dlmZmZmZ d dlmZ d dlmZ ddddg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||Ž d S )Nz:django.contrib.postgres.fields.CIText mixin is deprecated.é   )Ú
stacklevel)ÚwarningsÚwarnr   ÚsuperÚ__init__©ÚselfÚargsÚkwargs©Ú	__class__© úmc:\users\snmko\desktop\web_content\django_cbt\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   c                       s(   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              	      s(   t td�� tƒ j||Ž W 5 Q R X d S ©N)Úcategory©r   r   r   r   r   r   r   r   r   (   s    zCICharField.__init__©r   r   r   Zsystem_check_deprecated_detailsr   r    r   r   r   r   r      s
   ÷c                       s(   e Zd ZddddœZ‡ fdd„Z‡  ZS )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              	      s(   t td�� tƒ j||Ž W 5 Q R X d S r%   r'   r   r   r   r   r   :   s    zCIEmailField.__init__r(   r   r   r   r   r   -   s
   ÷c                       s(   e Zd ZddddœZ‡ fdd„Z‡  ZS )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              	      s(   t td�� tƒ j||Ž W 5 Q R X d S r%   r'   r   r   r   r   r   L   s    zCITextField.__init__r(   r   r   r   r   r
   ?   s
   ÷)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   