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
Django 1.7
on Python 2.7, 3.3 and 3.4.
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
Install using pip:
pip install django-data-migration
Add to INSTALLED_APPS:
'data_migration',
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.
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
Metadata
Release files for django-data-migration 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-data-migration-0.2.1.tar.gz | 10.7 kB | Without provenance | Details for django-data-migration-0.2.1.tar.gz |
Release files / django-data-migration-0.2.1.tar.gz
| Download URL | django-data-migration-0.2.1.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
372954381c7bd1ddc47fa9f57c9c588fbbe2358f15fc90515b3b866a8bbe9854
|
|
BLAKE2b-256 checksum How to use checksums |
7aaed5228a7827daaeaeeaefb8758ea1de7618b0e60cecc54d3eb730052051be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-data-migration 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.