django-locking-southPrevent South from running concurrently | |
Download |
django-locking-south Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Matt Robenolt
- Publisher web site:
- https://github.com/mattrobenolt/
django-locking-south Tags
django-locking-south Description
django-locking-south is a Django app to prevent South from running concurrently.The problemA common situation in continuous integration/deployment scenarios is having production code pushed to a number of servers at once without any type of "master" controller. All servers are treated equally. In this case when mixed with South, migrations can get crazy. Only one migration instance can run at one time. This lets you do that.Installation pip install django-locking-southAdd locking_south to your INSTALLED_APPS:INSTALLED_APPS = ( #... 'south', 'locking_south',)Cache must be configured inside your Django app and be accessible by all servers for locking to actually work.Usage ./manage.py safe_migrateNote: All options and args for South are passed through and valid for safe_migrate.Product's homepage
django-locking-south Related Software