U
    ÔÉ>i4  ã                   @   s"   G d d„ dƒZ e dƒZdd„ ZdS )c                   @   s4   e Zd Zdd„ Zdd„ Zedd„ ƒZedd„ ƒZd	S )
ÚAppSettingsc                 C   s
   || _ d S ©N)Úprefix)Úselfr   © r   úE/tmp/pip-unpacked-wheel-upujnpc2/allauth/usersessions/app_settings.pyÚ__init__   s    zAppSettings.__init__c                 C   s   ddl m} || j| |ƒS )Né    )Úget_setting)Zallauth.utilsr	   r   )r   ÚnameZdfltr	   r   r   r   Ú_setting   s    zAppSettings._settingc                 C   s   |   dd¡S )NÚADAPTERz7allauth.usersessions.adapter.DefaultUserSessionsAdapter©r   ©r   r   r   r   r   
   s     ÿzAppSettings.ADAPTERc                 C   s   |   dd¡S )z®Whether or not sessions are to be actively tracked. When tracking is
        enabled, the last seen IP address and last seen timestamp will be kept
        track of.
        ÚTRACK_ACTIVITYFr   r   r   r   r   r      s    zAppSettings.TRACK_ACTIVITYN)Ú__name__Ú
__module__Ú__qualname__r   r   Úpropertyr   r   r   r   r   r   r      s   
r   ZUSERSESSIONS_c                 C   s
   t t| ƒS r   )ÚgetattrÚ_app_settings)r
   r   r   r   Ú__getattr__   s    r   N)r   r   r   r   r   r   r   Ú<module>   s   