#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 , 10 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Uncategorized → Cleanup/optimization |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Cc: | added |
---|---|
Has patch: | set |
comment:4 by , 10 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
a simple PR to add how "zero" works: https://github.com/django/django/pull/3095