Manage Django Migrations with a Text-Based UI
To install, simply use pip:
pip install django-migrations-tuiAdd
django_migrations_tuito your Django project'sINSTALLED_APPS.Run the following command to start the interactive UI.
python manage.py migrationstuiUtilize the arrow keys for navigation and letter keys to perform actions:
v: Change the format of the migration view betweenlistandplanl: Toggle the logs panelm: Runmigrateon the selected migration or appf: Runmigrate --fakeon the selected migration or appr: Runmigrate <app name> zeroon the selected apps: Runsqlmigrateon the selected migrationq: Quit the UIctrl+\: Search and select migrations by name- Additionally, some vim keybindings are supported for navigation, including
j,k,ctrl+home,G,ctrl+bandctrl+f.