Ticket #22862: makemigrations-add-noinput.patch

File makemigrations-add-noinput.patch, 747 bytes (added by art@…, 10 years ago)

potential patch for django/core/management/commands/makemigrations.py

  • makemigrations.py

    old new  
    1616
    1717class Command(BaseCommand):
    1818    option_list = BaseCommand.option_list + (
     19        make_option('--noinput', action='store_false', dest='interactive', default=True,
     20            help='Tells Django to NOT prompt the user for input of any kind.'),
    1921        make_option('--dry-run', action='store_true', dest='dry_run', default=False,
    2022            help="Just show what migrations would be made; don't actually write them."),
    2123        make_option('--merge', action='store_true', dest='merge', default=False,
Back to Top