Skip to main content

PyPi version PyPi downloads Build Status License

django-data-migration is a reusable Django app that migrates your legacy data into your new django app. The only thing you have to supply is an appropriate SQL query that transforms your data from the old schema into your model structure. Dependencies between these migrations will be resolved automatically. Give it a try!

This extension is tested automatically against:

  • Django 1.5

  • Django 1.6

on Python 2.7 and 3.3.

Python 3.2 is not supported, due to a SyntaxError in the future library which is used to support both Python 2 and 3.

Installation

  1. Install using pip:

    pip install django-data-migration
  2. Add to INSTALLED_APPS:

    'data_migration',
  3. Run ./manage.py migrate or ./manage.py syncdb to create the included models

Alternatively, you can add django-data-migration to your requirements.txt.

Documentation

The documentation of django-data-migration is built by sphinx and can be edited in the docs/ directory of this project.

Go to the Documentation on Read The Docs

Status of project

This app has been extracted out of a production system and some work has been done, to write tests and refactor code. The project documentation is a work in progress.

Start participating

  • Fork the project on Github and clone it locally

  • Install Python 2.7 and 3.3, virtualenv and tox

  • Run the tests with tox against all supported versions of Python

  • Create a Pull Request on Github

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-data-migration-0.1.3.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file django-data-migration-0.1.3.tar.gz.

File metadata

File hashes

Hashes for django-data-migration-0.1.3.tar.gz
Algorithm Hash digest
SHA256 22949c27ef57a85de3693aa3af2f4296a89b17c7d7cf864380e83e680d50b3b8
MD5 0ce60edf85f79151265a6cb7dd9f42f0
BLAKE2b-256 0693e4052a715aa0808a49c2daf10f0f496b9dfbc9229a489de8ad669ca5e652

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.1

1 file

0.2.0

1 file

0.1.7

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

This release

0.1.3 This release

1 file

0.1.2

1 file

0.1.1

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page