Ë
    ¹ûàg±  ã                   ó  — d Z ddlZddlmZ  G d„ de«      Z G d„ de«      Z G d„ d	e«      Z G d
„ de«      Z G d„ de«      Z	 G d„ de	«      Z
 G d„ de	«      Z G d„ de	«      Z G d„ de	«      Z G d„ de	«      Z G d„ de	«      Z G d„ de	«      Z G d„ de«      Z G d„ de«      Z G d „ d!e«      Z G d"„ d#e«      Z G d$„ d%e«      Z G d&„ d'e«      Z G d(„ d)e«      Zd*Z G d+„ d,e«      Z G d-„ d.e«      Z G d/„ d0e«      Z G d1„ d2e«      Zy)3z.
Global Django exception and warning classes.
é    N)Úmake_hashablec                   ó   — e Zd ZdZy)ÚFieldDoesNotExistz(The requested model field does not existN©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    úT/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/django/core/exceptions.pyr   r   
   ó   „ Ù2àr   r   c                   ó   — e Zd ZdZy)ÚAppRegistryNotReadyz-The django.apps registry is not populated yetNr   r   r   r   r   r      s   „ Ù7àr   r   c                   ó   — e Zd ZdZdZy)ÚObjectDoesNotExistz#The requested object does not existTN)r   r   r	   r
   Úsilent_variable_failurer   r   r   r   r      s   „ Ù-à"Ñr   r   c                   ó   — e Zd ZdZy)ÚMultipleObjectsReturnedz?The query returned multiple objects when only one was expected.Nr   r   r   r   r   r      s   „ ÙIàr   r   c                   ó   — e Zd ZdZy)ÚSuspiciousOperationz!The user did something suspiciousNr   r   r   r   r   r   "   s   „ Ú+r   r   c                   ó   — e Zd ZdZy)ÚSuspiciousMultipartFormz+Suspect MIME request in multipart form dataNr   r   r   r   r   r   &   ó   „ Ù5àr   r   c                   ó   — e Zd ZdZy)ÚSuspiciousFileOperationz/A Suspicious filesystem operation was attemptedNr   r   r   r   r   r   ,   s   „ Ù9àr   r   c                   ó   — e Zd ZdZy)ÚDisallowedHostz'HTTP_HOST header contains invalid valueNr   r   r   r   r   r   2   ó   „ Ù1àr   r   c                   ó   — e Zd ZdZy)ÚDisallowedRedirectz&Redirect to scheme not in allowed listNr   r   r   r   r!   r!   8   s   „ Ù0àr   r!   c                   ó   — e Zd ZdZy)ÚTooManyFieldsSentzl
    The number of fields in a GET or POST request exceeded
    settings.DATA_UPLOAD_MAX_NUMBER_FIELDS.
    Nr   r   r   r   r#   r#   >   ó   „ ñð
 	r   r#   c                   ó   — e Zd ZdZy)ÚTooManyFilesSentzk
    The number of fields in a GET or POST request exceeded
    settings.DATA_UPLOAD_MAX_NUMBER_FILES.
    Nr   r   r   r   r&   r&   G   r$   r   r&   c                   ó   — e Zd ZdZy)ÚRequestDataTooBigzq
    The size of the request (excluding any file uploads) exceeded
    settings.DATA_UPLOAD_MAX_MEMORY_SIZE.
    Nr   r   r   r   r(   r(   P   r$   r   r(   c                   ó   — e Zd ZdZy)ÚRequestAbortedz=The request was closed before it was completed, or timed out.Nr   r   r   r   r*   r*   Y   s   „ ÙGàr   r*   c                   ó   — e Zd ZdZy)Ú
BadRequestz1The request is malformed and cannot be processed.Nr   r   r   r   r,   r,   _   ó   „ Ù;àr   r,   c                   ó   — e Zd ZdZy)ÚPermissionDeniedz+The user did not have permission to do thatNr   r   r   r   r/   r/   e   r   r   r/   c                   ó   — e Zd ZdZy)ÚViewDoesNotExistz!The requested view does not existNr   r   r   r   r1   r1   k   s   „ Ù+àr   r1   c                   ó   — e Zd ZdZy)ÚMiddlewareNotUsedz8This middleware is not used in this server configurationNr   r   r   r   r3   r3   q   s   „ ÙBàr   r3   c                   ó   — e Zd ZdZy)ÚImproperlyConfiguredz'Django is somehow improperly configuredNr   r   r   r   r5   r5   w   r   r   r5   c                   ó   — e Zd ZdZy)Ú
FieldErrorz(Some kind of problem with a model field.Nr   r   r   r   r7   r7   }   r   r   r7   Ú__all__c                   óh   ‡ — e Zd ZdZdˆ fd„	Zed„ «       Zed„ «       Zd„ Zd„ Z	d„ Z
d„ Zd	„ Zd
„ Zˆ xZS )ÚValidationErrorzAn error while validating data.c                 óH  •— t         ‰| �  |||«       t        |t        «      rVt	        |d«      r|j
                  }n=t	        |d«      s|j                  }n$|j                  |j                  |j                  }}}t        |t        «      rTi | _        |j                  «       D ]9  \  }}t        |t        «      st        |«      }|j                  | j
                  |<   Œ; yt        |t        «      r™g | _        |D ]Œ  }t        |t        «      st        |«      }t	        |d«      r>| j                  j                  t        |j
                  j                  «       g «      «       Œh| j                  j                  |j                  «       ŒŽ y|| _        || _        || _	        | g| _        y)aÒ  
        The `message` argument can be a single error, a list of errors, or a
        dictionary that maps field names to lists of errors. What we define as
        an "error" can be either a simple string or an instance of
        ValidationError with its message attribute set, and what we define as
        list or dictionary can be an actual `list` or `dict` or an instance
        of ValidationError with its `error_list` or `error_dict` attribute set.
        Ú
error_dictÚmessageN)ÚsuperÚ__init__Ú
isinstancer:   Úhasattrr<   Ú
error_listr=   ÚcodeÚparamsÚdictÚitemsÚlistÚextendÚsumÚvalues)Úselfr=   rC   rD   ÚfieldÚmessagesÚ	__class__s         €r   r?   zValidationError.__init__‰   sU  ø€ ô 	‰Ñ˜ $¨Ô/ä�gœÔ/Ü�w Ô-Ø!×,Ñ,‘Ü˜W iÔ0Ø!×,Ñ,‘à(/¯©¸¿¹ÀwÇ~Á~˜v˜�ä�gœtÔ$Ø ˆDŒOØ#*§=¡=£?ò =‘��xÜ! (¬OÔ<Ü.¨xÓ8�HØ)1×)<Ñ)<�—‘ Ò&ñ=ô
 ˜¤Ô&Ø ˆDŒOØ"ò ?�ä! '¬?Ô;Ü-¨gÓ6�GÜ˜7 LÔ1Ø—O‘O×*Ñ*¬3¨w×/AÑ/A×/HÑ/HÓ/JÈBÓ+OÕPà—O‘O×*Ñ*¨7×+=Ñ+=Õ>ñ?ð #ˆDŒLØˆDŒIØ ˆDŒKØ#˜fˆD�Or   c                 ó0   — t        | d«       t        | «      S ©Nr<   )ÚgetattrrE   ©rK   s    r   Úmessage_dictzValidationError.message_dict´   s   € ô 	��lÔ#ä�D‹zÐr   c                 óv   — t        | d«      r#t        t        | «      j                  «       g «      S t	        | «      S rP   )rA   rI   rE   rJ   rG   rR   s    r   rM   zValidationError.messages¼   s0   € ä�4˜Ô&Ü”t˜D“z×(Ñ(Ó*¨BÓ/Ð/Ü�D‹zÐr   c                 ó  — t        | d«      rE| j                  j                  «       D ]&  \  }}|j                  |g «      j	                  |«       Œ( |S |j                  t
        g «      j	                  | j                  «       |S rP   )rA   r<   rF   Ú
setdefaultrH   ÚNON_FIELD_ERRORSrB   )rK   r<   rL   rB   s       r   Úupdate_error_dictz!ValidationError.update_error_dictÂ   sz   € Ü�4˜Ô&Ø%)§_¡_×%:Ñ%:Ó%<ò DÑ!��zØ×%Ñ% e¨RÓ0×7Ñ7¸
ÕCðDð Ðð ×!Ñ!Ô"2°BÓ7×>Ñ>¸t¿¹ÔOØÐr   c              #   ó$  K  — t        | d«      r;| j                  j                  «       D ]  \  }}|t        t	        |«      «      f–— Œ y | j
                  D ]6  }|j                  }|j                  r||j                  z  }t        |«      –— Œ8 y ­wrP   )	rA   r<   rF   rG   r:   rB   r=   rD   Ústr)rK   rL   ÚerrorsÚerrorr=   s        r   Ú__iter__zValidationError.__iter__Ê   s‚   è ø€ Ü�4˜Ô&Ø!%§¡×!6Ñ!6Ó!8ò ;‘��vØœT¤/°&Ó"9Ó:Ð:Ó:ñ;ð Ÿ™ò #�ØŸ-™-�Ø—<’<Ø˜uŸ|™|Ñ+�GÜ˜'“lÓ"ñ	#ùs   ‚BBc                 ój   — t        | d«      rt        t        | «      «      S t        t        | «      «      S rP   )rA   ÚreprrE   rG   rR   s    r   Ú__str__zValidationError.__str__Õ   s*   € Ü�4˜Ô&Üœ˜T›
Ó#Ð#Ü”D˜“JÓÐr   c                 ó   — d| z  S )NzValidationError(%s)r   rR   s    r   Ú__repr__zValidationError.__repr__Ú   s   € Ø$ tÑ+Ð+r   c                 ó\   — t        |t        «      st        S t        | «      t        |«      k(  S )N)r@   r:   ÚNotImplementedÚhash)rK   Úothers     r   Ú__eq__zValidationError.__eq__Ý   s%   € Ü˜%¤Ô1Ü!Ð!Ü�D‹zœT %›[Ñ(Ð(r   c           
      óP  — t        | d«      r5t        | j                  | j                  t	        | j
                  «      f«      S t        | d«      rt        t	        | j                  «      «      S t        t        t        | j                  t        j                  d«      ¬«      «      «      S )Nr=   r<   )Úkey)rA   re   r=   rC   r   rD   r<   ÚtupleÚsortedrB   ÚoperatorÚ
attrgetterrR   s    r   Ú__hash__zValidationError.__hash__â   s~   € Ü�4˜Ô#Üà—L‘LØ—I‘IÜ! $§+¡+Ó.ðóð ô �4˜Ô&Üœ d§o¡oÓ6Ó7Ð7Ü”Eœ& §¡´h×6IÑ6IÈ)Ó6TÔUÓVÓWÐWr   )NN)r   r   r	   r
   r?   ÚpropertyrS   rM   rX   r]   r`   rb   rg   rn   Ú__classcell__)rN   s   @r   r:   r:   †   sS   ø„ Ù)õ)%ðV ñó ðð ñó ðò
ò	#ò ò
,ò)ö
Xr   r:   c                   ó   — e Zd ZdZy)ÚEmptyResultSetz)A database query predicate is impossible.Nr   r   r   r   rr   rr   ð   s   „ Ù3àr   rr   c                   ó   — e Zd ZdZy)ÚFullResultSetz1A database query predicate is matches everything.Nr   r   r   r   rt   rt   ö   r-   r   rt   c                   ó   — e Zd ZdZy)ÚSynchronousOnlyOperationzBThe user tried to call a sync-only function from an async context.Nr   r   r   r   rv   rv   ü   s   „ ÙLàr   rv   )r
   rl   Údjango.utils.hashabler   Ú	Exceptionr   r   r   r   r   r   r   r   r!   r#   r&   r(   r*   r,   r/   r1   r3   r5   r7   rW   r:   rr   rt   rv   r   r   r   ú<module>ry      s:  ðñó å /ô	˜	ô 	ô	˜)ô 	ô#˜ô #ô	˜iô 	ô,˜)ô ,ô	Ð1ô 	ô	Ð1ô 	ô	Ð(ô 	ô	Ð,ô 	ô	Ð+ô 	ô	Ð*ô 	ô	Ð+ô 	ô	�Yô 	ô	�ô 	ô	�yô 	ô	�yô 	ô	˜	ô 	ô	˜9ô 	ô	�ô 	ð Ð ôgX�iô gXôT	�Yô 	ô	�Iô 	ô	˜yõ 	r   