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.

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

django-south-central-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

File details

Details for the file django-south-central-0.2.0.tar.gz.

File metadata

File hashes

Hashes for django-south-central-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f5b06e3d8b0fb93d5b29e36185fda0708622422c626e8bb5c453e3360c83f4cf
MD5 7f259f690ac0259810844511396a7e97
BLAKE2b-256 095b85efe7b1fbe0ca5c48ef9e682e7bf2cc8441d9c67f8cbcfa1eed9534a7f6

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