This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

[PyPI Downloads] (http://img.shields.io/pypi/dm/django-reset-migrations.svg)

Django reset migrations

Add one command to reset the django migrations.

Sometimes you have one app that had a lot migrations in development process. And this migrations could be deleted, because anybody will need this in the future.

Soo, could be stressfull delete the files, reset the database and create the first migration again … to start to developer again and bla bla bla …

Because this, I made this command to reset the migrations and start the first migration.

I hope be usefull to you 2 :D

Features

  • delete migrations files
  • delete registers in django_migrations
  • recreate the first migrations
  • apply fake migration
  • delete register without delete files with –cached

To install

pip install django-reset-migrations

Install package in your INSTALL_APPS

settings.py

INSTALL_APPS = (
    ...
    'reset_migrations',
    .....
)

Usage

python manage.py reset_migration crm

or

python manage.py reset_migration app1 app2

or

python manage.py reset_migration app1 app2 --cached

Options

–cached: Don´t delete the migrations files in apps

Release History

Release History

0.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-reset-migrations-0.1.0.linux-x86_64.tar.gz (4.4 kB) Copy SHA256 Checksum SHA256 any Dumb Binary May 11, 2016
django_reset_migrations-0.1.0-py2-none-any.whl (5.4 kB) Copy SHA256 Checksum SHA256 2.7 Wheel May 11, 2016
django-reset-migrations-0.1.0.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source May 6, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting