o
    óŠbh–	  ã                   @   s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )zÕ
Core app configuration.

This module defines the Django app configuration for the core app,
which provides shared functionality across all other apps.
It defines the app's metadata and any initialization logic.

é    )Ú	AppConfig)Úgettext_lazyc                   @   s0   e Zd ZdZdZdZedƒZdd„ Zdd„ Z	d	S )
Ú
CoreConfigz»
    Configuration class for the common app.
    
    This app provides shared models, utilities, and functionality
    that can be used across all other applications in the project.
    zdjango.db.models.BigAutoFieldz	apps.coreZCorec                 C   sx   zddl m} W n	 ty   Y nw zddl m} W n	 ty#   Y nw zddl m} |  ¡  W dS  ty;   Y dS w )a”  
        Perform initialization when the app is ready.
        
        This method is called when Django starts up and the app
        registry is fully populated.
        
        This method is called when the app is ready and can be used to:
        - Import signal handlers
        - Register custom checks 
        - Perform other initialization tasks
        - Set up user-related logging
        é   )Úsignals)Úchecks)ÚloggingN)Ú r   ÚImportErrorr   r   Ú_setup_logging)Úselfr   r   r   © r   úBC:\Users\vibe-look\OneDrive\Desktop\Adtlas_V\src\apps\core\apps.pyÚready   s    ÿÿÿzCoreConfig.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
        core app. It's especially useful when customizing log levels,
        handlers, or formats.
        r   Nzadtlas.corez!core app initialized successfully)r   Ú	getLoggerÚinfo)r   r   Úloggerr   r   r   r   B   s   
zCoreConfig._setup_loggingN)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Údefault_auto_fieldÚnameÚ_Úverbose_namer   r   r   r   r   r   r      s    $r   N)r   Údjango.appsr   Údjango.utils.translationr   r   r   r   r   r   r   Ú<module>   s   	