Fixed #23327 -- Added 'zero' syntax to migrate help message

This commit is contained in:
areski 2014-08-21 14:41:33 +02:00 committed by Tim Graham
parent a76aab3583
commit 0396cd8f19
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class Command(BaseCommand):
parser.add_argument('app_label', nargs='?',
help='App label of an application to synchronize the state.')
parser.add_argument('migration_name', nargs='?',
help='Database state will be brought to the state after that migration.')
help='Database state will be brought to the state after that migration. Use the name "zero" to unapply all migrations.')
parser.add_argument('--noinput', action='store_false', dest='interactive', default=True,
help='Tells Django to NOT prompt the user for input of any kind.')
parser.add_argument('--no-initial-data', action='store_false', dest='load_initial_data', default=True,