(subparsers: argparse._SubParsersAction)
| 717 | |
| 718 | |
| 719 | def _add_makemigrations_parser(subparsers: argparse._SubParsersAction) -> None: |
| 720 | makemigrations_parser = subparsers.add_parser( |
| 721 | "makemigrations", help="Create new migrations from model changes." |
| 722 | ) |
| 723 | makemigrations_parser.add_argument("app_labels", nargs="*") |
| 724 | makemigrations_parser.add_argument( |
| 725 | "--empty", action="store_true", help="Create an empty migration." |
| 726 | ) |
| 727 | makemigrations_parser.add_argument("-n", "--name", help="Use this name for the migration file.") |
| 728 | makemigrations_parser.set_defaults(func=_run_makemigrations) |
| 729 | |
| 730 | |
| 731 | def _add_migrate_parser(subparsers: argparse._SubParsersAction) -> None: |
no outgoing calls
no test coverage detected
searching dependent graphs…