| 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/db/models/fields/__pycache__/ |
Upload File : |
�
�|�e�+ � � � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
G d� d e
� � Z G d
� de� � Z G d� d
e� � Z
G d� de� � ZdS )al
"Rel objects" for related fields.
"Rel objects" (for lack of a better name) carry information about the relation
modeled by a related field and provide some utility functions. They're stored
in the ``remote_field`` attribute of the field.
They also act as reverse fields for the purposes of the Meta API because
they're the closest concept currently available.
� )�
exceptions)�cached_property)�
make_hashable� )�BLANK_CHOICE_DASH)�FieldCacheMixinc � � e Zd ZdZdZdZdZdZdZdZ dd�Z
ed� � � Zed� � � Z
ed� � � Zed � � � Zed
� � � Zed� � � Zed� � � Zed
� � � Zed� � � Zd� Zd� Zed� � � Zd� Zed� � � Zd� Zd� Zdeddfd�Zd� Zd� Z d� Z!d� Z"d d�Z#d d�Z$d� Z%dS )!�ForeignObjectRelz�
Used by ForeignObject to store information about the relation.
``_meta.get_fields()`` returns this class to provide access to the field
flags for the reverse relation.
TFNc � � || _ || _ || _ || _ |�i n|| _ || _ || _ d| _ d| _ d S )NFT) �field�model�related_name�related_query_name�limit_choices_to�parent_link� on_delete�symmetrical�multiple)�selfr �tor r r r r s �I/usr/lib/python3/dist-packages/django/db/models/fields/reverse_related.py�__init__zForeignObjectRel.__init__'