
    rh                     B    S SK Jr  S SKJr  S SKJrJr   " S S\5      rg)    )import_module)settings)BaseCommandCommandErrorc                       \ rS rSrSrS rSrg)Command   z_Can be run as a cronjob or directly to clean out expired sessions when the backend supports it.c                     [        [        R                  5      n UR                  R	                  5         g ! [
         a    [        S[        R                  -  5      ef = f)Nz>Session engine '%s' doesn't support clearing expired sessions.)r   r   SESSION_ENGINESessionStoreclear_expiredNotImplementedErrorr   )selfoptionsengines      q/var/www/html/shao/venv/lib/python3.13/site-packages/django/contrib/sessions/management/commands/clearsessions.pyhandleCommand.handle   sX    x667	--/" 	&556 	s	   6 'A N)__name__
__module____qualname____firstlineno__helpr   __static_attributes__r       r   r   r      s    	( 	
r   r   N)	importlibr   django.confr   django.core.management.baser   r   r   r   r   r   <module>r       s    #   Ak r   