← Back
Editing: schema.cpython-311.pyc
� �|�e�� � �� � d dl Z d dlmZ d dlmZmZmZmZmZmZ d dl m Z mZ d dlm Z mZ d dlmZ d dlmZmZ d dlmZ e j d � � Zd � Zd� Zd� Z G d � d� � ZdS )� N)�datetime)�Columns�Expressions�ForeignKeyName� IndexName� Statement�Table)�names_digest�split_identifier)� Deferrable�Index)�Query)�TransactionManagementError�atomic)�timezonezdjango.db.backends.schemac �h � | j }|j rdS |j r|j dgk rdS |j |j v S )zz When altering the given field, must constraints on its model from the given relation be temporarily dropped? FNT)�field�many_to_many�primary_key� to_fields�name)�relation� altered_fieldr s �@/usr/lib/python3/dist-packages/django/db/backends/base/schema.py�_is_relevant_relationr sI � � �N�E��� ��u�� � �U�_���%>�%>��t�����0�0� c �<