From 0396cd8f190b39597516abf2162542b196cf0c6d Mon Sep 17 00:00:00 2001 From: areski Date: Thu, 21 Aug 2014 14:41:33 +0200 Subject: [PATCH] Fixed #23327 -- Added 'zero' syntax to migrate help message --- django/core/management/commands/migrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/management/commands/migrate.py b/django/core/management/commands/migrate.py index e681aee798..0e1e9de7cf 100644 --- a/django/core/management/commands/migrate.py +++ b/django/core/management/commands/migrate.py @@ -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,