Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/django/db/migrations/operations/__pycache__/ |
Upload File : |
o ʎ�_p � @ sL d dl mZ ddlmZ G dd� de�ZG dd� de�ZG dd � d e�Zd S )� )�router� )� Operationc @ sJ e Zd ZdZddgZddd�Zdd� Zd d � Zdd� Zd d� Z dd� Z dS )�SeparateDatabaseAndStatea! Take two lists of operations - ones that will be used for the database, and ones that will be used for the state change. This allows operations that don't support state change to have it applied, or have operations that affect the state or not the database, or so on. �database_operations�state_operationsNc C s |pg | _ |pg | _d S �N)r r )�selfr r � r �I/usr/lib/python3/dist-packages/django/db/migrations/operations/special.py�__init__ s z!SeparateDatabaseAndState.__init__c C s2 i }| j r | j |d<