| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/django/core/serializers/__pycache__/ |
Upload File : |
�
�|�e�- � �, � d Z ddlmZ ddlmZ ddlmZ e� � Z G d� de � � Z
G d� de� � Z G d � d
e� � Z
G d� de� � Z G d
� d� � Z G d� d� � Z G d� d� � Z G d� d� � Zd� Zd� Zd� ZdS )z;
Module for abstract serializer/unserializer base classes.
� )�StringIO)�ObjectDoesNotExist)�modelsc � � e Zd ZdZdS )�SerializerDoesNotExistz'The requested serializer was not found.N��__name__�
__module__�__qualname__�__doc__� � �>/usr/lib/python3/dist-packages/django/core/serializers/base.pyr r s � � � � � �1�1��Dr r c � � e Zd ZdZdS )�SerializationErrorz,Something bad happened during serialization.Nr r
r r r r s � � � � � �6�6��Dr r c �( � e Zd ZdZed� � � ZdS )�DeserializationErrorz.Something bad happened during deserialization.c
�0 � | |�d|�d|�d|�d�� � S )zs
Factory method for creating a deserialization error which has a more
explanatory message.
z: (z:pk=z) field_value was '�'r
)�cls�original_exc�model�fk�field_values r �WithDatazDeserializationError.WithData s3 � � �s�L�L�L�%�%�%�QS�QS�QS�U`�U`�U`�a�b�b�br N)r r
r r �classmethodr r
r r r r s8 � � � � � �8�8��c� c� �[�c� c� cr r c � � e Zd ZdZd� ZdS )�M2MDeserializationErrorzCSomething bad happened during deserialization of a ManyToManyField.c �"