Self hosted FLOSS fitness/workout, nutrition and weight tracker
Commit missing fixture for global gym configuration
Roland Geiderc375518df159
diff --git a/extras/scripts/filter-fixtures.py b/extras/scripts/filter-fixtures.pyindex 659a1a5d8..85b78cae5 100644--- a/extras/scripts/filter-fixtures.py+++ b/extras/scripts/filter-fixtures.py@@ -65,7 +65,7 @@ filter_dump(data, ('core.license',), 'licenses.json')# Configurations#filter_dump(data, ('config.languageconfig',), 'language_config.json')-filter_dump(data, ('config.gymconfig',), 'gym-config.json')+filter_dump(data, ('config.gymconfig',), 'gym_config.json')## Otherdiff --git a/wger/core/fixtures/gym_config.json b/wger/core/fixtures/gym_config.jsonnew file mode 100644index 000000000..d24002e11--- /dev/null+++ b/wger/core/fixtures/gym_config.json@@ -0,0 +1,9 @@+[+ {+ "pk": 1,+ "model": "config.gymconfig",+ "fields": {+ "default_gym": null+ }+ }+]\ No newline at end of filediff --git a/wger/main.py b/wger/main.pyindex bc1b03166..16d8db6b1 100755--- a/wger/main.py+++ b/wger/main.py@@ -389,6 +389,7 @@ def load_fixtures():# Configpath = os.path.join(current_dir, 'config', 'fixtures/')call_command("loaddata", path + "language_config.json")+ call_command("loaddata", path + "gym_config.json")# Manager# path = os.path.join(current_dir, 'manager', 'fixtures/')