Self hosted FLOSS fitness/workout, nutrition and weight tracker
Improve instructions on how to use the filter-fixtures.py script
Roland Geider1326abdc0a7d
diff --git a/extras/scripts/filter-fixtures.py b/extras/scripts/filter-fixtures.pyindex 4abf7e55d..2afa39ce7 100644--- a/extras/scripts/filter-fixtures.py+++ b/extras/scripts/filter-fixtures.py@@ -18,8 +18,13 @@Simple script that filters the output of django's dumpdata command into moremanageable chunks.-Create the data.json e.g. with:- python ../../manage.py dumpdata --indent 4 --natural-foreign > data.json+After dumping the databas (or parts of it), just copy the file and filter it:+ python ./manage.py dumpdata --indent 4 --natural-foreign > extras/scripts/data.json+ cd extras/scripts+ python3 filter-fixtures.py+ mv exercises.json ../../wger/exercises/fixtures/+ ...+ rm *.json"""import json