U
    e                     @   sV   d dl mZ d dlmZmZ d dlmZ d dlmZ	 ddl
mZ G dd deeZd	S )
    )models)AbstractBaseUserPermissionsMixin)timezone)gettext_lazy   )CustomUserManagerc                   @   sZ   e Zd ZejedddZejddZejddZ	ej
ejdZdZg Ze Zdd Zd	S )

CustomUserzemail addressT)uniqueF)defaultemailc                 C   s   | j S )N)r   )self r   -/var/www/html/Adatlas/src/apps/core/models.py__str__   s    zCustomUser.__str__N)__name__
__module____qualname__r   
EmailField_r   BooleanFieldis_staff	is_activeDateTimeFieldr   nowdate_joinedUSERNAME_FIELDREQUIRED_FIELDSr   objectsr   r   r   r   r   r	   	   s   r	   N)	django.dbr   django.contrib.auth.modelsr   r   django.utilsr   django.utils.translationr   r   managersr   r	   r   r   r   r   <module>   s
   