+
    Tj                         ^ RI Ht ^ RIHt Rt ! R R]4      tRR ltR tR t	R t
RR	 ltRR
 ltRR ltRR ltRR ltR# )    )	constants)default_storageMessageFailurec                       ] tR t^tRtR# )r    N)__name__
__module____qualname____firstlineno____static_attributes__r       P/var/www/idalgo/venv/lib/python3.14/site-packages/django/contrib/messages/api.pyr   r      s    r   c                     V P                   pVP                  WV4      #   \         dP    \        T R4      '       g'   \	        RT P
                  P                  ,          4      hT'       g   \        R4      h R# i ; i)zC
Attempt to add a message to the request using the 'messages' app.
METAz?add_message() argument must be an HttpRequest object, not '%s'.z_You cannot add messages without installing django.contrib.messages.middleware.MessageMiddlewareN)	_messagesaddAttributeErrorhasattr	TypeError	__class__r   r   )requestlevelmessage
extra_tagsfail_silentlymessagess   &&&&& r   add_messager      s    8$$ ||EJ77  
w''!++445   G  
s     A
A:+A:9A:c                    \        V R. 4      # )zY
Return the message storage on the request if it exists, otherwise return
an empty list.
r   )getattr)r   s   &r   get_messagesr    +   s    
 7K,,r   c                F    \        V R\        V 4      4      pVP                  # )z
Return the minimum level of messages to be recorded.

The default level is the ``MESSAGE_LEVEL`` setting. If this is not found,
use the ``INFO`` level.
r   )r   r   r   )r   storages   & r   	get_levelr#   3   s!     g{OG,DEG==r   c                N    \        V R4      '       g   R# WP                  n        R# )z
Set the minimum level of messages to be recorded, and return ``True`` if
the level was recorded successfully.

If set to ``None``, use the default level (see the get_level() function).
r   FT)r   r   r   )r   r   s   &&r   	set_levelr%   >   s#     7K((#r   c                B    \        V \        P                  VVVR7       R# )z'Add a message with the ``DEBUG`` level.r   r   N)r   r   DEBUGr   r   r   r   s   &&&&r   debugr*   K       #r   c                B    \        V \        P                  VVVR7       R# )z&Add a message with the ``INFO`` level.r'   N)r   r   INFOr)   s   &&&&r   infor.   V   s    #r   c                B    \        V \        P                  VVVR7       R# )z)Add a message with the ``SUCCESS`` level.r'   N)r   r   SUCCESSr)   s   &&&&r   successr1   a       #r   c                B    \        V \        P                  VVVR7       R# )z)Add a message with the ``WARNING`` level.r'   N)r   r   WARNINGr)   s   &&&&r   warningr5   l   r2   r   c                B    \        V \        P                  VVVR7       R# )z'Add a message with the ``ERROR`` level.r'   N)r   r   ERRORr)   s   &&&&r   errorr8   w   r+   r   N)
r   r    r#   r%   r*   r.   r1   r5   r8   r   ) F)django.contrib.messagesr   django.contrib.messages.storager   __all__	Exceptionr   r   r    r#   r%   r*   r.   r1   r5   r8   r   r   r   <module>r>      sK    - ;	Y 	8*-
r   