3
ÊÀ\v  ã               @   s2   d dl mZ d dlmZ G dd„ deƒZeƒ ZdS )é    )ÚPasswordResetTokenGenerator)Úsixc               @   s   e Zd Zdd„ ZdS )ÚTokenGeneratorc             C   s"   t j|jƒt j|ƒ t j|jƒ S )N)r   Ú	text_typeÚpkÚ	is_active)ÚselfÚuserÚ	timestamp© r   ú:/var/www/html/dls.localhost.com/myproject/dls_api/token.pyÚ_make_hash_value   s    zTokenGenerator._make_hash_valueN)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s   r   N)Údjango.contrib.auth.tokensr   Údjango.utilsr   r   Úaccount_activation_tokenr   r   r   r   Ú<module>   s   