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.

Source Distribution

reinit-migrations-0.6.tar.gz (15.3 kB view hashes)

Uploaded Source

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