
    &g                         d Z ddlZd Zy)z@
This module contains some utils for easy deprecation warnings.
    Nc                 2      G  fddt               S )Nc                   &     e Zd Z fdZ xZS )6import_path_is_changed.<locals>.ImportDeprecationMixinc                 p    t         |   |       }|ddd}t        j                  |t               |S )Nz: z is deprecated. Please use z	 instead.)super__new__warningswarnDeprecationWarning)	clsargskwargsklassmsgImportDeprecationMixin	__class__new_nameold_names	        T/var/www/html/djangosite/lib/python3.12/site-packages/admin_tools/deprecate_utils.pyr   z>import_path_is_changed.<locals>.ImportDeprecationMixin.__new__	   s9    0#>sCExC MM#12L    )__name__
__module____qualname__r   __classcell__)r   r   r   r   s   @r   r   r      s    	 	r   r   )object)r   r   r   s   ``@r   import_path_is_changedr      s       "!r   )__doc__r	   r    r   r   <module>r      s    	"r   