256👍
✅
You can do the same with Django 1.7+ also:
python manage.py migrate <app> zero
This clears <app>
from migration history and drops all tables of <app>
See django docs for more info.
7👍
you can also use the version number:
python manage.py migrate <app> 0002
Source: https://docs.djangoproject.com/en/1.7/ref/django-admin/#django-admin-migrate
👤jsh
- [Django]-Django: Get list of model fields?
- [Django]-Django – Website Home Page
- [Django]-Error: "dictionary update sequence element #0 has length 1; 2 is required" on Django 1.4
Source:stackexchange.com