Ticket #22862: makemigrations-add-noinput.patch
File makemigrations-add-noinput.patch, 747 bytes (added by , 10 years ago) |
---|
-
makemigrations.py
old new 16 16 17 17 class Command(BaseCommand): 18 18 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.'), 19 21 make_option('--dry-run', action='store_true', dest='dry_run', default=False, 20 22 help="Just show what migrations would be made; don't actually write them."), 21 23 make_option('--merge', action='store_true', dest='merge', default=False,