
    si                     6    d Z ddlmZ ddlmZ  G d de      Zy)z^
This module defines the configuration for the 'attendance' app within the WorksolMS project.
    )	AppConfig)APP_URLSc                   *     e Zd ZdZdZdZ fdZ xZS )AttendanceConfiga3  
    Configures the 'attendance' app and performs additional setup during the app's
    initialization. This includes appending the 'attendance' URL patterns to the
    project's main urlpatterns and dynamically adding the 'AttendanceMiddleware'
    to the middleware stack if it's not already present.
    zdjango.db.models.BigAutoField
attendancec                    ddl m}m} ddlm}m} ddlm} ddlm	} ddl
m} |j                  d       |j                   |d |d	                   d
}||vr|j                  |       t        j                  d	       t        	| =          y )Nr   )includepath)	schedulersignals)APPS)
MIDDLEWARE)urlpatternsr   zattendance/zattendance.urlsz*attendance.middleware.AttendanceMiddleware)django.urlsr	   r
   r   r   r   horilla.horilla_settingsr   horilla.settingsr   horilla.urlsr   appendr   superready)
selfr	   r
   r   r   r   r   r   middleware_path	__class__s
            3/var/www/python-projects/worksol/attendance/apps.pyr   zAttendanceConfig.ready   sp    -11/,L!(9 :;	
 G*,o.)*    )__name__
__module____qualname____doc__default_auto_fieldnamer   __classcell__)r   s   @r   r   r   
   s     9D r   r   N)r   django.appsr   r   r   r    r   r   <module>r%      s    " -y r   