o
    RÑbh¥	  ã                   @   s$   d Z ddlmZ G dd„ deƒZdS )zÙAuth App Configuration

This module contains the Django app configuration for the auth application.
The auth app handles user authentication, authorization.
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 )ÚAuthenticationConfigzjConfiguration for the Auth application.
    
    This app handles user authentication, authorization.
    zdjango.db.models.BigAutoFieldzapps.authenticationÚauthenticationc                 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   úLC:\Users\vibe-look\OneDrive\Desktop\Adtlas_V\src\apps\authentication\apps.pyÚready   s   
þzAuthenticationConfig.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
        auth app. It's especially useful when customizing log levels,
        handlers, or formats.
        r   Nzadtlas.authz!Auth app initialized successfully)ÚloggingÚ	getLoggerÚinfo)r   r   Úloggerr   r   r   r	   6   s   
z#AuthenticationConfig._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
   B   s   z*AuthenticationConfig._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   