+
    Tj$                        ^ RI t ^ RIHt ^ RIHtHt ^ RIHt ^ RIH	t	H
t
HtHtHt ^ RIHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHt ] P0                  ! R4      t ! R R4      t ! R R4      t ! R R4      t ! R R]]]4      t ! R R]4      tR# )    N)urlparse)iscoroutinefunctionmarkcoroutinefunction)ImproperlyConfigured)HttpResponseHttpResponseGoneHttpResponseNotAllowedHttpResponsePermanentRedirectHttpResponseRedirect)TemplateResponse)reverse)classonlymethod)classproperty)log_responsezdjango.requestc                   .   a  ] tR t^t o RtRtR tRtV tR# )ContextMixinzs
A default context mixin that passes the keyword arguments received by
get_context_data() as the template context.
Nc                |    VP                  R V 4       V P                  e   VP                  V P                  4       V# )view)
setdefaultextra_contextupdate)selfkwargss   &,N/var/www/idalgo/venv/lib/python3.14/site-packages/django/views/generic/base.pyget_context_dataContextMixin.get_context_data   s5    &$')MM$,,-     )	__name__
__module____qualname____firstlineno____doc__r   r   __static_attributes____classdictcell____classdict__s   @r   r   r      s     
 M r   r   c                   p   a  ] tR t^&t o Rt. ROtR t]R 4       t]	R 4       t
R tR tR tR tR	 tR
tV tR# )Viewzq
Intentionally simple parent class for all views. Only implements
dispatch-by-method and simple sanity checking.
c                P    VP                  4        F  w  r#\        WV4       K  	  R# )zd
Constructor. Called in the URLconf; can contain helpful extra
keyword arguments, and other things.
N)itemssetattr)r   r   keyvalues   &,  r   __init__View.__init__7   s      !,,.JCDu% )r   c                  a V P                    Uu. uF*  pVR 8w  g   K  \        W4      '       g   K  \        W4      NK,  	  ppV'       g   R# \        V^ ,          4      o\        ;QJ d&    V3R lVR,           4       F  '       d   K   RM	  RM! V3R lVR,           4       4      '       g   \        V P                   R24      hS# u upi )optionsFc              3   @   <"   T F  p\        V4      S8H  x  K  	  R # 5iN)r   ).0his_asyncs   & r   	<genexpr>%View.view_is_async.<locals>.<genexpr>K   s     L|!&q)X5|s   :   NNTz4 HTTP handlers must either be all sync or all async.)http_method_nameshasattrgetattrr   allr   r!   )clsmethodhandlersr7   s   &  @r   view_is_asyncView.view_is_asyncA   s     //
/)# !(/(< !GC / 	 

 &x{3sLx|LsssLx|LLL&##$ %   
s   	CCCc                  a a S Fa  pVS P                   9   d   \        RV: RS P                  : R24      h\        S V4      '       d   KF  \        S P                  : RV: R24      h	  V V3R lpS Vn        SVn        S P                  Vn        S P                  Vn        S P                  P                  Vn	        VP                  P                  S P                  P                  4       S P                  '       d   \        V4       V# )z0Main entry point for a request-response process.zThe method name z* is not accepted as a keyword argument to z().z() received an invalid keyword zJ. as_view only accepts arguments that are already attributes of the class.c                    < S! R/ SB pVP                   ! V .VO5/ VB  \        VR 4      '       g   \        RSP                  ,          4      hVP                  ! V .VO5/ VB # )requestz\%s instance has no 'request' attribute. Did you override setup() and forget to call super()?r   )setupr<   AttributeErrorr   dispatch)rF   argsr   r   r?   
initkwargss   &*, r   r   View.as_view.<locals>.viewb   sm    $$DJJw0004++$:<?LLI  ==:4:6::r   )r;   	TypeErrorr   r<   
view_classview_initkwargsr#   r    rI   __annotations____dict__r   rB   r   )r?   rK   r-   r   s   fl  r   as_viewView.as_viewR   s     Cc+++"%s||5  3$$ 36,,E  	; )
 {{.."||;; 	S\\223 !$'r   c                    \        V R4      '       d$   \        V R4      '       g   V P                  V n        Wn        W n        W0n        R# )z1Initialize attributes shared by all view methods.getheadN)r<   rU   rV   rF   rJ   r   r   rF   rJ   r   s   &&*,r   rG   
View.setup   s5    4f(=(=DI	r   c                    VP                   P                  4       V P                  9   d0   \        WP                   P                  4       V P                  4      pMV P                  pV! V.VO5/ VB # r4   )r@   lowerr;   r=   http_method_not_allowed)r   rF   rJ   r   handlers   &&*, r   rI   View.dispatch   sc     >>!T%;%;;nn**,d.J.JG 22Gw0000r   c                   a \        V P                  4       4      o\        R VP                  VP                  SVR7       V P
                  '       d   V3R lpV! 4       # S# )zMethod Not Allowed (%s): %sresponserF   c                     <"   S # 5ir4   r   r`   s   r   func*View.http_method_not_allowed.<locals>.func           )r	   _allowed_methodsr   r@   pathrB   r   rF   rJ   r   rc   r`   s   &&*, @r   r[   View.http_method_not_allowed   sV    )$*?*?*AB)NNLL	
   6MOr   c                   a \        4       oRP                  V P                  4       4      SP                  R&   RSP                  R&   V P                  '       d   V3R lpV! 4       # S# )z8Handle responding to requests for the OPTIONS HTTP verb.z, Allow0zContent-Lengthc                     <"   S # 5ir4   r   rb   s   r   rc   View.options.<locals>.func   re   rf   )r   joinrg   headersrB   ri   s   &&*, @r   r2   View.options   s\    >$(IId.C.C.E$F!-0)*  6MOr   c                    V P                    Uu. uF&  p\        W4      '       g   K  VP                  4       NK(  	  up# u upi r4   )r;   r<   upper)r   ms   & r   rg   View._allowed_methods   s1    #'#9#9N#9aWT=M		#9NNNs   >>)rJ   rV   r   rF   N)rU   postputpatchdeleterV   r2   trace)r   r    r!   r"   r#   r;   r/   r   rB   r   rR   rG   rI   r[   r2   rg   r$   r%   r&   s   @r   r)   r)   &   s`     
	&    * *X
1&O Or   r)   c                   @   a  ] tR t^t o RtRtRt]tRt	R t
R tRtV tR# )TemplateResponseMixinz.A mixin that can be used to render a template.Nc                    VP                  RV P                  4       V P                  ! RRV P                  RV P	                  4       RVRV P
                  /VB # )z
Return a response, using the `response_class` for this view, with a
template rendered with the given context.

Pass response_kwargs to the constructor of the response class.
content_typerF   templatecontextusingr   )r   r   response_classrF   get_template_namestemplate_engine)r   r   response_kwargss   &&,r   render_to_response(TemplateResponseMixin.render_to_response   sn     	"">43D3DE"" 
LL
,,.
 
 &&	

 
 	
r   c                N    V P                   f   \        R4      hV P                   .# )z
Return a list of template names to be used for the request. Must return
a list. May not be called if render_to_response() is overridden.
ztTemplateResponseMixin requires either a definition of 'template_name' or an implementation of 'get_template_names()')template_namer   )r   s   &r   r   (TemplateResponseMixin.get_template_names   s4    
 %&Q 
 &&''r   r   )r   r    r!   r"   r#   r   r   r   r   r   r   r   r$   r%   r&   s   @r   r}   r}      s+     8MO%NL
 ( (r   r}   c                   *   a  ] tR t^t o RtR tRtV tR# )TemplateViewzL
Render a template. Pass keyword arguments from the URLconf to the context.
c                H    V P                   ! R/ VB pV P                  V4      # )Nr   )r   r   )r   rF   rJ   r   r   s   &&*, r   rU   TemplateView.get   s&    ''1&1&&w//r   r   N)r   r    r!   r"   r#   rU   r$   r%   r&   s   @r   r   r      s     0 0r   r   c                   d   a  ] tR t^t o RtRtRtRtRtR t	R t
R tR tR tR	 tR
 tR tRtV tR# )RedirectViewz&Provide a redirect on any GET request.FNc                   V P                   '       d   V P                   V,          pM,V P                  '       d   \        V P                  WR7      pMR# V P                  P                  P                  RR4      pV'       d>   V P                  '       d,   \        V4      P                  '       d
   V RV 2pV# V RV 2pV# )z
Return the URL redirect to. Keyword arguments from the URL pattern
match generating the redirect request are provided as kwargs to this
method.
)rJ   r   NQUERY_STRING &?)	urlpattern_namer   rF   METArU   query_stringr   query)r   rJ   r   r   s   &*, r   get_redirect_urlRedirectView.get_redirect_url   s     888((V#C$++$FC||  $$^R8D%%%}"""Qtfo 
 Qtfo
r   c                    V P                   ! V/ VB pV'       d)   V P                  '       d   \        V4      # \        V4      # \	        4       p\        R VP                  WQR7       V# )zGone: %sr_   )r   	permanentr
   r   r   r   rh   )r   rF   rJ   r   r   r`   s   &&*,  r   rU   RedirectView.get  sV    ##T4V4~~~4S99+C00')HW\\HVOr   c                .    V P                   ! V.VO5/ VB # r4   rU   rW   s   &&*,r   rV   RedirectView.head      xx1$1&11r   c                .    V P                   ! V.VO5/ VB # r4   r   rW   s   &&*,r   rw   RedirectView.post  r   r   c                .    V P                   ! V.VO5/ VB # r4   r   rW   s   &&*,r   r2   RedirectView.options  r   r   c                .    V P                   ! V.VO5/ VB # r4   r   rW   s   &&*,r   rz   RedirectView.delete  r   r   c                .    V P                   ! V.VO5/ VB # r4   r   rW   s   &&*,r   rx   RedirectView.put  r   r   c                .    V P                   ! V.VO5/ VB # r4   r   rW   s   &&*,r   ry   RedirectView.patch!  r   r   r   )r   r    r!   r"   r#   r   r   r   r   r   rU   rV   rw   r2   rz   rx   ry   r$   r%   r&   s   @r   r   r      sI     0I
CLL*
222222 2r   r   )loggingurllib.parser   asgiref.syncr   r   django.core.exceptionsr   django.httpr   r   r	   r
   r   django.template.responser   django.urlsr   django.utils.decoratorsr   django.utils.functionalr   django.utils.logr   	getLoggerloggerr   r)   r}   r   r   r   r   r   <module>r      s~     ! C 7  6  3 1 )			+	, PO POf#( #(L0(, 0924 92r   