Add migration scripts seamlessly
Project description
PyPI: https://pypi.org/project/django-migration-scripts
Installation
pip install django_migration_scripts
Usage
Add to INSTALLED_APPS in settings.py
INSTALLED_APPS = [
######,
'django_migration_scripts',
#####
]
Then run the script from shell
python manage.py addscript <app_name>
This adds a script in the app in the /scripts folder. Add your script there
Running the script
python manage.py runscripts
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-migration-scripts-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dd78247a547b554c0050e59defa9eca03c4b6ca5a661a8ca96637e7a9a8e066 |
|
MD5 | a8b783651f2ba9558f5d0b7dc1a049b6 |
|
BLAKE2b-256 | 0bcbeaf67e465518461dc0fa38745be3de4c2c3cfcdc3321c299ad89c71314cf |
Close
Hashes for django_migration_scripts-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60933d60b5da8fc952a8054cfb72bc94ef7c10c292f02cccef008dad1c7e0222 |
|
MD5 | 5fae934cb0a9620f6e9cb7ab7a26ee1e |
|
BLAKE2b-256 | 4dad6dd93028b86c76a2cf8c1aa8dc7dfa1d70e44c140bd5516b02e31e5d0bee |