U
    %þ¯b¶  ã                   @   s4   d Z ddlmZmZ ddgZdd„ Zdd„ ZeZ	dS )	zPublic utilitiesé   )Úget_mangled_ignoreÚmake_cleanup_cacheÚrefreshÚcleanup_ignorec                 C   s   t | ƒS )z!Refresh the cache for an instance)Ú_make_cleanup_cache)Úinstance© r   ú:/tmp/pip-unpacked-wheel-tw14ec8h/django_cleanup/cleanup.pyr   	   s    c                 C   s   t | t| ƒdƒ | S )z"Mark a model to ignore for cleanupN)ÚsetattrÚ_get_mangled_ignore)Úclsr   r   r	   Úignore   s    r   N)
Ú__doc__Úcacher   r   r   r   Ú__all__r   r   r   r   r   r   r	   Ú<module>   s
   