o
    3dh
  ã                   @   s$   d Z ddlmZ G dd„ deƒZdS )zúAccounts App Configuration

This module contains the Django app configuration for the accounts application.
The accounts app handles user authentication, authorization, and user management.
It defines the app's metadata and any initialization logic.
é    )Ú	AppConfigc                   @   s4   e Zd ZdZdZdZdZdd„ Zdd„ Zd	d
„ Z	dS )ÚAccountsConfigz½Configuration for the Accounts application.
    
    This app handles user authentication, authorization, user profiles,
    and all user-related functionality in the Adtlas project.  
    zdjango.db.models.BigAutoFieldzapps.accountsZAccountsc                 C   sD   zddl m} ddl m} |  ¡  |  ¡  W dS  ty!   Y dS w )aH  Initialize the app when Django starts.
        
        This method is called when the app is ready and can be used to:
        - Import signal handlers
        - Register custom checks
        - Initialize authentication configurations
        - Perform other initialization tasks
        - Set up user-related logging
        é   )Úsignals)ÚchecksN)Ú r   r   Ú_setup_loggingÚ_setup_authenticationÚImportError)Úselfr   r   © r   úFC:\Users\vibe-look\OneDrive\Desktop\Adtlas_V\src\apps\accounts\apps.pyÚready   s   
þzAccountsConfig.readyc                 C   s    ddl }| d¡}| d¡ dS )zúSetup application-specific logging configuration.
        
        This method can be used to set up custom logging configuration for the
        accounts app. It's especially useful when customizing log levels,
        handlers, or formats.
        r   Nzadtlas.accountsz%Accounts app initialized successfully)ÚloggingÚ	getLoggerÚinfo)r   r   Úloggerr   r   r   r   5   s   
zAccountsConfig._setup_loggingc                 C   s   dS )zÙSetup authentication-specific configurations.
        
        This method can be used to set up custom authentication backends,
        custom user models, or any other authentication-related configurations.
        Nr   )r   r   r   r   r	   A   s   z$AccountsConfig._setup_authenticationN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Údefault_auto_fieldÚnameÚverbose_namer   r   r	   r   r   r   r   r      s    r   N)r   Údjango.appsr   r   r   r   r   r   Ú<module>   s   