Commit 239f2f0d authored by Michal Čihař's avatar Michal Čihař

Add helper to migrate from south to Django 1.7 (bug #526)

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 37443386
#!/bin/sh
set -e
TMPDIR=$(mktemp -d)
trap "rm -rf -- '$TMPDIR'" EXIT HUP INT TERM
virtualenv --system-site-packages "$TMPDIR"
. "$TMPDIR/bin/activate"
pip install django==1.6.5
pip install south
CMD="$(command -v django-admin)"
python "$CMD" migrate "$@"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment