/usr/local/lib/python3.9/site-packages/django/core/management/commands/__pycache__
a Ӱ�h�W � @ s� d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dl m Z mZmZ d dl mZ d dlmZmZmZmZ d dlmZ d d lmZ d d lmZ d dlmZ d dlmZ d d lmZm Z m!Z! d dl"m#Z# d dl$m%Z% d dl&m'Z' G dd� de �Z(dS )� N)� takewhile)�apps)�settings)�BaseCommand�CommandError�no_translations)�run_formatters)�DEFAULT_DB_ALIAS�OperationalError�connections�router�� Migration)�MigrationAutodetector)�MigrationLoader)�SwappableTuple)�MigrationOptimizer)�InteractiveMigrationQuestioner�MigrationQuestioner�!NonInteractiveMigrationQuestioner)�ProjectState)�get_migration_name_timestamp)�MigrationWriterc @ s^ e Zd ZdZdd� Zedd� �Zdd� Zedd � �Z d d� Z dd d�Zedd� �Z dd� ZdS )�Commandz"Creates new migration(s) for apps.c C s� |j ddddd� |j dddd � |j d ddd � |j ddd d � |j dddddd� |j dddd� |j ddddd� |j ddddd� |j dddd d� |j d!dd"d#d� d S )$N�args� app_label�*z2Specify the app label(s) to create migrations for.)�metavar�nargs�helpz --dry-run� store_truezCJust show what migrations would be made; don't actually write them.)�actionr z--mergez%Enable fixing of migration conflicts.z--emptyzCreate an empty migration.z --noinputz --no-input�store_false�interactivez:Tells Django to NOT prompt the user for input of any kind.)r! �destr z-nz--namez$Use this name for migration file(s).)r z--no-header�include_headerz4Do not add header comments to new migration file(s).z--check� check_changeszuExit with a non-zero status if model changes are missing migrations and don't actually write them. Implies --dry-run.z--scriptable� scriptableziDivert log output and input prompts to stderr, writing only paths of generated migration files to stdout.z--update�updatezTMerge model changes into the latest migration and optimize the resulting operations.)�add_argument)�self�parser� r, �X/usr/local/lib/python3.9/site-packages/django/core/management/commands/makemigrations.py� add_arguments sr �������� � �zCommand.add_argumentsc C s | j r| jS | jS �N)r'