o
    ÖŸŽiË  ã                   @   sª   d dl mZ d dlmZmZmZmZmZmZm	Z	m
Z
mZmZmZmZmZ d dlmZ g d¢Zeƒ Zeƒ ZeeeƒZdd„ Zej e¡ dd„ Zej e¡ ej e¡ d	S )
é    )Úsignals)ÚDEFAULT_DB_ALIASÚDJANGO_VERSION_PICKLE_KEYÚConnectionHandlerÚConnectionRouterÚDatabaseErrorÚ	DataErrorÚErrorÚIntegrityErrorÚInterfaceErrorÚInternalErrorÚNotSupportedErrorÚOperationalErrorÚProgrammingError)ÚConnectionProxy)Ú
connectionÚconnectionsÚrouterr   r
   r   r   r   r   r	   r   r   r   r   c                  K   s    t jdd�D ]}|j ¡  qd S ©NT)Zinitialized_only)r   ÚallZqueries_logÚclear©ÚkwargsÚconn© r   ú\C:\Users\psant\Downloads\Anu Raj Backend\school\venv\Lib\site-packages\django/db/__init__.pyÚreset_queries-   s   ÿr   c                  K   s   t jdd�D ]}| ¡  qd S r   )r   r   Zclose_if_unusable_or_obsoleter   r   r   r   Úclose_old_connections7   s   
ÿr   N)Zdjango.corer   Zdjango.db.utilsr   r   r   r   r   r   r	   r
   r   r   r   r   r   Zdjango.utils.connectionr   Ú__all__r   r   r   r   Zrequest_startedÚconnectr   Zrequest_finishedr   r   r   r   Ú<module>   s    <
