B
    œWqgÈ  ã               @   s2   d dl mZ d dlmZ G dd„ deƒZeƒ ZdS )é    )ÚPasswordResetTokenGenerator)Ú	text_typec               @   s   e Zd Zdd„ ZdS )ÚAccountActivationTokenGeneratorc             C   s   t |jƒt |ƒ t |jƒ S )N)r   ÚpkÚ	is_active)ÚselfÚuserÚ	timestamp© r
   ú)/var/www/pobierzsterownik/users/tokens.pyÚ_make_hash_value   s    z0AccountActivationTokenGenerator._make_hash_valueN)Ú__name__Ú
__module__Ú__qualname__r   r
   r
   r
   r   r      s   r   N)Údjango.contrib.auth.tokensr   Zsixr   r   Úaccount_activation_tokenr
   r
   r
   r   Ú<module>   s   