https://github.com/jacobsvante/django-soupmigration
No longer developed. Please don't use.
https://github.com/jacobsvante/django-soupmigration
Last synced: about 1 year ago
JSON representation
No longer developed. Please don't use.
- Host: GitHub
- URL: https://github.com/jacobsvante/django-soupmigration
- Owner: jacobsvante
- License: other
- Created: 2011-05-08T22:03:55.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-05-19T12:13:09.000Z (about 15 years ago)
- Last Synced: 2025-02-09T00:37:52.812Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.markdown
Awesome Lists containing this project
README
# django-soupmigration
Easily migrate MySQL database with lots of irregularities to your Django
project.
* **Author:** [Jacob Magnusson](http://twitter.com/pyjacob)
* **Homepage:**
## Requirements
- Python 2.7+
- Django 1.0+
- [MySQLdb-Python](http://mysql-python.sourceforge.net/) 1.2+
## Install
1. `$ git clone https://github.com/jmagnusson/django-soupmigration.git`
2. `$ cd django-soupmigration`
3. `$ python setup.py install`
## How-To
1. Create migration file and subclass `Data` and `Migration`.
2. See documentation for class attributes to provide.
3. `$ cd /path/to/djangoproject`
4. `$ python setup.py shell`
5. `>>> from myapp.soup import MyModelMigration`
6. `>>> migration = MyModelMigration()`
7. `>>> migrate.insert()`