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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file django-migrations-tui-0.1.10.tar.gz.

File metadata

File hashes

Hashes for django-migrations-tui-0.1.10.tar.gz
Algorithm Hash digest
SHA256 f657beb5b093a0d03eb5d26326d55e6c3a0852d733c9a6013d2843989e62c70d
MD5 1fa9e11eb5c89dc2db5be63c14beb4b0
BLAKE2b-256 e6f3873f8e99d7505fe96f5db38bb656cfc05848f4ea2bfebdf7b171bcb77f0c

See more details on using hashes here.

File details

Details for the file django_migrations_tui-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for django_migrations_tui-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 883fdc38d00492d3e56e538b34acb6ed7c1d4fb31133348bf4237a6f31e91f1f
MD5 b830b1ec7a6c69dabd4eccb36fd172fe
BLAKE2b-256 84efc7f18111e2092729197ab7326f5285ef2242b692804854574710c303c77c

See more details on using hashes here.

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