B
    ÒWvg�  ã               @   sF   d Z ddlmZmZmZ dddgZdd„ Z	dd„ Z
e
Zd	d
„ ZeZdS )zPublic utilitiesé   )Úget_mangled_ignoreÚget_mangled_selectÚmake_cleanup_cacheÚrefreshÚcleanup_ignoreÚcleanup_selectc             C   s   t | ƒS )z!Refresh the cache for an instance)Ú_make_cleanup_cache)Úinstance© r
   úB/tmp/pip-install-4y76y3dr/django-cleanup/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   c             C   s   t | t| ƒdƒ | S )z"Mark a model to select for cleanupN)r   Ú_get_mangled_select)r   r
   r
   r   Úselect   s    r   N)Ú__doc__Úcacher   r   r   r   r   r   Ú__all__r   r   r   r   r   r
   r
   r
   r   Ú<module>   s   
