From 534c4f58201500a1e7c0e3de3a37a0ef5195992f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Wed, 30 Oct 2013 14:24:14 +0100 Subject: [PATCH] Added a script to make a dump of all roles into a fixture --- dumpdata_role.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 dumpdata_role.sh diff --git a/dumpdata_role.sh b/dumpdata_role.sh new file mode 100755 index 00000000..765e48a9 --- /dev/null +++ b/dumpdata_role.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +python ./manage.py dumpdata -n --indent=4 users.Role > greenmine/base/users/fixtures/initial_role.json