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

Uploaded Source

File details

Details for the file reinit-migrations-0.6.tar.gz.

File metadata

  • Download URL: reinit-migrations-0.6.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for reinit-migrations-0.6.tar.gz
Algorithm Hash digest
SHA256 43005a869b5e0c743478449f767bf20edd3d0a0c541bb7d2c44f44519ccbccac
MD5 9e75e6ae95a09fd5d17d08156cc51ea3
BLAKE2b-256 6a97e0d5eaebe252fdc0514b3635c113feadaa589cd27ef272a99e4f473e0abf

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