Skip to main content

A management utility to reset migrations

Project description

# Installation *pip install reinit-migrations*

# Release 0.1 ## Usage Add reinit_migrations to INSTALLED_APPS *./manage reinit_migrations* It will delete all the applied migrations from the disk and the db. Useful when migration files are too many and it slows down the computer. Reset migrations using this utility and run makemigration then fake all of them.

# Release 0.2 ## Usage Add reinit_migrations to INSTALLED_APPS *./manage reinit_migrations* This will delete migrations for all apps from db and disk ./manage reinit_migrations –apps app1 app2 app3 …* This will delete migration for app1, app2, app3 only.

## Release 0.6 Separate your apps into three lists ` DEFAULTS = [django framework apps] THIRD_PARTY_APPS = [third party apps] LOCAL_APPS = [your apps] INSTALLED_APPS = DEFAULT + THIRD_PARTY_APPS + LOCAL_APPS ` this app will work on LOCAL_APPS only.

As always pull requests are welcome :)

Project details

Download files

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

Files for reinit-migrations, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size reinit-migrations-0.6.tar.gz (15.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page