Skip to main content

Manage Django Migrations with a Text-Based UI.

Project description

Manage Django Migrations with a Text-Based UI

Installation

To install, simply use pip:

pip install django-migrations-tui

Quick start

  1. Add django_migrations_tui to your Django project’s INSTALLED_APPS.

  2. Run the following command to start the interactive UI.

    python manage.py migrationstui
  3. Utilize the arrow keys for navigation and letter keys to perform actions:

    • v: Change the format of the migration view between list and plan

    • l: Toggle the logs panel

    • m: Run migrate on the selected migration or app

    • f: Run migrate --fake on the selected migration or app

    • r: Run migrate <app name> zero on the selected app

    • s: Run sqlmigrate on the selected migration

    • q: Quit the UI

    • ctrl+\: Search and select migrations by name

    • Additionally, some vim keybindings are supported for navigation, including j, k, ctrl+home, G, ctrl+b and ctrl+f.

Screenshots

Screenshot of django-migrations-tui Screenshot of django-migrations-tui

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-migrations-tui-0.1.10.tar.gz (18.4 kB view hashes)

Uploaded Source

Built Distribution

django_migrations_tui-0.1.10-py3-none-any.whl (11.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page