o
    ]"<f’  ã                   @   sž   d Z ddlmZ edƒrddlZnddlZedƒr&ddlmZ ddlm	Z	 n
dZG dd	„ d	e
ƒZ	edur;ed
k r;dZndZedƒrDdZndZdd„ Zeƒ ZdS )z0This module handles import compatibility issues.é    )Úfind_loaderÚ
simplejsonNÚdjango)ÚVERSION)ÚImproperlyConfiguredc                   @   s   e Zd ZdS )r   N)Ú__name__Ú
__module__Ú__qualname__© r
   r
   úE/var/www/html/kck/venv/lib/python3.10/site-packages/environ/compat.pyr      s    r   )é   r   z&django.db.backends.postgresql_psycopg2zdjango.db.backends.postgresqlÚredis_cachezredis_cache.RedisCachezdjango_redis.cache.RedisCachec                  C   s$   t duot dk } | stdƒsdS dS )z&Backward compatibility for pymemcache.N)é   r   Ú
pymemcachez1django.core.cache.backends.memcached.PyLibMCCachez4django.core.cache.backends.memcached.PyMemcacheCache)ÚDJANGO_VERSIONr   )Ú
old_djangor
   r
   r   Úchoose_pymemcache_driver*   s   r   )Ú__doc__Úpkgutilr   r   Újsonr   r   r   Údjango.core.exceptionsr   Ú	ExceptionÚDJANGO_POSTGRESÚREDIS_DRIVERr   ÚPYMEMCACHE_DRIVERr
   r
   r
   r   Ú<module>   s$   


