Skip to main content

Application state migration tool, inspired by South

Project description

https://badge.fury.io/py/django-south-central.png https://travis-ci.org/hiisi13/django-south-central.svg?branch=master https://coveralls.io/repos/hiisi13/django-south-central/badge.png?branch=master

Run maintenance commands for Django apps in database migrations fashion.

Quickstart

  • Install django-south-central:

    pip install django-south-central
  • Create database table for history:

    python manage.py syncdb

Usage

  • Generate migration file and update its contents manually:

    python manage.py appmigration app_name migration_name
  • Or, generate Django call_command call with specified arguments:

    python manage.py appmigration app_name migration_name cmd_name cmd_arg
  • Apply migration:

    python manage.py migrateapp app_name

History

0.1.0 (2014-04-01)

  • First release on PyPI.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page