o
    &zh,  ã                   @   s.   d dl mZ G dd„ dƒZedƒZdd„ ZdS )é    )Úappsc                   @   sˆ   e Zd Zdd„ Zdd„ Zedd„ ƒZedd„ ƒZed	efd
d„ƒZ	edd„ ƒZ
edd„ ƒZedd„ ƒZed	efdd„ƒZedd„ ƒZdS )ÚAppSettingsc                 C   s
   || _ d S ©N)Úprefix)Úselfr   © r   úO/var/www/html/kangema/venv/lib/python3.10/site-packages/allauth/app_settings.pyÚ__init__   s   
zAppSettings.__init__c                 C   s   ddl m} || j| |ƒS )Nr   ©Úget_setting)Úallauth.utilsr   r   )r   ÚnameÚdfltr   r   r   r   Ú_setting   s   zAppSettings._settingc                 C   ó
   t  d¡S )Nzdjango.contrib.sites©r   Úis_installed©r   r   r   r   ÚSITES_ENABLED   ó   
zAppSettings.SITES_ENABLEDc                 C   r   )Nzallauth.socialaccountr   r   r   r   r   ÚSOCIALACCOUNT_ENABLED   r   z!AppSettings.SOCIALACCOUNT_ENABLEDÚreturnc                 C   ó   ddl m} |ddƒS )Nr   r
   ÚSOCIALACCOUNT_ONLYF©r   r   ©r   r   r   r   r   r      ó   
zAppSettings.SOCIALACCOUNT_ONLYc                 C   r   )Nzallauth.mfar   r   r   r   r   ÚMFA_ENABLED   r   zAppSettings.MFA_ENABLEDc                 C   r   )Nzallauth.usersessionsr   r   r   r   r   ÚUSERSESSIONS_ENABLED   r   z AppSettings.USERSESSIONS_ENABLEDc                 C   r   )Nzallauth.headlessr   r   r   r   r   ÚHEADLESS_ENABLED#   r   zAppSettings.HEADLESS_ENABLEDc                 C   r   )Nr   r
   ÚHEADLESS_ONLYFr   r   r   r   r   r    '   r   zAppSettings.HEADLESS_ONLYc                 C   s   |   dd ¡S )NÚDEFAULT_AUTO_FIELD)r   r   r   r   r   r!   -   s   zAppSettings.DEFAULT_AUTO_FIELDN)Ú__name__Ú
__module__Ú__qualname__r	   r   Úpropertyr   r   Úboolr   r   r   r   r    r!   r   r   r   r   r      s&    




r   ÚALLAUTH_c                 C   s
   t t| ƒS r   )ÚgetattrÚ_app_settings)r   r   r   r   Ú__getattr__5   r   r*   N)Údjango.appsr   r   r)   r*   r   r   r   r   Ú<module>   s    .