Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 0396cd8f190b39597516abf2162542b196cf0c6d 1 parent a76aab3
@areski areski authored timgraham committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/management/commands/migrate.py
View
2  django/core/management/commands/migrate.py
@@ -26,7 +26,7 @@ def add_arguments(self, parser):
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,
Please sign in to comment.
Something went wrong with that request. Please try again.