Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#23327 closed Cleanup/optimization (fixed)

Add "migrate <app_label> zero" syntax to migrate help message

Reported by: Nikolas N Owned by: nobody
Component: Documentation Version: 1.7-rc-2
Severity: Normal Keywords:
Cc: Areski Belaid Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

There's an essential piece of info in the documentation for ./manage.py migrate here:

https://docs.djangoproject.com/en/1.7/ref/django-admin/#django-admin-migrate

which explains how to roll back a migration to before the initial migration. This is the ./manage.py migrate <app_label> zero syntax.

I think this should be explained in the help message when you run ./manage.py migrate --help, as well.

Change History (6)

comment:1 by Claude Paroz, 10 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

comment:2 by Areski Belaid, 10 years ago

a simple PR to add how "zero" works: https://github.com/django/django/pull/3095

comment:3 by Areski Belaid, 10 years ago

Cc: Areski Belaid added
Has patch: set

comment:4 by Claude Paroz, 10 years ago

Triage Stage: AcceptedReady for checkin

comment:5 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 0396cd8f190b39597516abf2162542b196cf0c6d:

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

comment:6 by Tim Graham <timograham@…>, 10 years ago

In 0396cd8f190b39597516abf2162542b196cf0c6d:

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

Note: See TracTickets for help on using tickets.
Back to Top