add --nomodelpolicy option for loading fixtures
diff --git a/planetstack/scripts/opencloud b/planetstack/scripts/opencloud
index b307e66..7811483 100755
--- a/planetstack/scripts/opencloud
+++ b/planetstack/scripts/opencloud
@@ -48,7 +48,7 @@
python /opt/planetstack/manage.py syncdb --noinput
if [[ $DJANGO_17 ]]; then
echo "Loading initial data from fixture..."
- python /opt/planetstack/manage.py loaddata /opt/planetstack/core/fixtures/initial_data.json
+ python /opt/planetstack/manage.py --nomodelpolicy loaddata /opt/planetstack/core/fixtures/initial_data.json
fi
}
function evolvedb {