+
    Tj4                     t    R t ^ RIt^ RIHt ^ RIHt ^ RIHt Rt	]P                  ! R4      t ! R R]4      tR# )	z#
Cached, database-backed sessions.
N)settings)SessionStore)cachesz!django.contrib.sessions.cached_dbzdjango.contrib.sessionsc                      a a ] tR t^t oRt]tRV 3R llt]R 4       t	R t
R tR tV 3R ltV 3R ltRV 3R	 lltRV 3R
 lltRV 3R lltRV 3R lltR tR tRtVtV ;t# )r   z-
Implement cached, database backed sessions.
c                f   < \         \        P                  ,          V n        \        SV `  V4       R # N)r   r   SESSION_CACHE_ALIAS_cachesuper__init__selfsession_key	__class__s   &&_/var/www/idalgo/venv/lib/python3.14/site-packages/django/contrib/sessions/backends/cached_db.pyr   SessionStore.__init__   s"    X99:%    c                D    V P                   V P                  4       ,           # r   )cache_key_prefix_get_or_create_session_keyr   s   &r   	cache_keySessionStore.cache_key   s    $$t'F'F'HHHr   c                `   "   V P                   V P                  4       G R j  xL
 ,           #  L
5ir   )r   _aget_or_create_session_keyr   s   &r   
acache_keySessionStore.acache_key   s%     $$T-M-M-O'OOO'Os   .,.c                n    V P                   P                  V P                  4      pVfx   V P	                  4       pV'       d^   V P                  VP                  4      pV P                   P                  V P                  WP                  VP                  R7      4       V# / pV#   \         d    R p Li ; iN)expiry)
r	   getr   	Exception_get_session_from_dbdecodesession_datasetget_expiry_ageexpire_dater   datass   &  r   loadSessionStore.load"   s    	;;??4>>2D <))+A{{1>>2NND*=*=Q]]*=*S
    	 D	s   %B$ $B43B4c                   "    V P                   P                  V P                  4       G R j  xL
 4      G R j  xL
 pVf   V P	                  4       G R j  xL
 pV'       d{   V P                  VP                  4      pV P                   P                  V P                  4       G R j  xL
 TV P                  VP                  R7      G R j  xL
 4      G R j  xL
  V# / pV#  L L  \         d    R p Li ; i L LS L1 L'5ir   )
r	   agetr   r!   _aget_session_from_dbr#   r$   asetaget_expiry_ager'   r(   s   &  r   aloadSessionStore.aload5   s     	))0A*ABBD <0022A{{1>>2kk&&//++..amm.DD    # +BB 	 D	 3 ,Ds   C>(C# CC# C!C# C>C6C>!AC>$C8%#C>C:	C>C<
C>C# !C# #C30C>2C33C>8C>:C><C>c                   < T;'       d)    V P                   V,           V P                  9   ;'       g    \        SV `  V4      # r   )r   r	   r
   existsr   s   &&r   r5   SessionStore.existsJ   sD     E E&&4D+ +w~k*	
r   c                   <"   T;'       d)    V P                   V,           V P                  9   ;'       g    \        SV `  V4      G R j  xL
 #  L5ir   )r   r	   r
   aexistsr   s   &&r   r8   SessionStore.aexistsQ   sO      E E&&4D2 2W_[11	
 2s   1AAA	Ac                
  < \         SV `  V4        V P                  P                  V P                  V P
                  V P                  4       4       R#   \         d%    \        P                  R T P                  4        R# i ; i)Error saving to cache (%s)N)
r
   saver	   r%   r   _sessionr&   r!   logger	exceptionr   must_creater   s   &&r   r<   SessionStore.saveX   s`    [!	HKKOODNNDMM4;N;N;PQ 	H94;;G	Hs   ?A +BBc                j  <"   \         SV `  V4      G R j  xL
   V P                  P                  V P	                  4       G R j  xL
 V P
                  V P                  4       G R j  xL
 4      G R j  xL
  R #  Lb L6 L L  \         d%    \        P                  RT P                  4        R # i ; i5i)Nr;   )
r
   asaver	   r0   r   r=   r1   r!   r>   r?   r@   s   &&r   rD   SessionStore.asave_   s     gmK(((	H++""oo''**,,   	) (,
  	H94;;G	Hsh   B3A9B3(B A;!B &A='B 2A?3B 7B3;B =B ?B +B0,B3/B00B3c                   < \         SV `  V4       Vf   V P                  f   R # V P                  pV P                  P                  V P                  V,           4       R # r   )r
   deleter   r	   r   r   s   &&r   rG   SessionStore.deletej   sL    {#'**K400;>?r   c                   <"   \         SV `  V4      G R j  xL
  Vf   V P                  f   R # V P                  pV P                  P                  V P                  V,           4      G R j  xL
  R #  LZ L5ir   )r
   adeleter   r	   r   r   s   &&r   rJ   SessionStore.adeleter   sf     gok***'**Kkk!!$"7"7+"EFFF 	+
 	Gs"   A5A1AA5*A3+A53A5c                j    V P                  4        V P                  V P                  4       RV n        R# )zK
Remove the current session data from the database and regenerate the
key.
N)clearrG   r   _session_keyr   s   &r   flushSessionStore.flushz   s'    
 	

D$$% r   c                   "   V P                  4        V P                  V P                  4      G Rj  xL
  RV n        R#  L5i)zSee flush().N)rM   rJ   r   rN   r   s   &r   aflushSessionStore.aflush   s3     

ll4++,,,  	-s   /A?A)r	   rN   r   )F)__name__
__module____qualname____firstlineno____doc__
KEY_PREFIXr   r   propertyr   r   r+   r2   r5   r8   r<   rD   rG   rJ   rO   rR   __static_attributes____classdictcell____classcell__)r   __classdict__s   @@r   r   r      sn      "& I IP&*

H	H@G!! !r   r   )rX   loggingdjango.confr   #django.contrib.sessions.backends.dbr   DBStoredjango.core.cacher   rY   	getLoggerr>    r   r   <module>rf      s<       G $0
			4	5w!7 w!r   