Self hosted FLOSS fitness/workout, nutrition and weight tracker
Trying to fix mapping
Harlene Samra2c8d5ddb1ef4
diff --git a/wger/exercises/migrations/0011_auto_20201214_0033.py b/wger/exercises/migrations/0011_auto_20201214_0033.pyindex 6b026e21d..bcd138be5 100644--- a/wger/exercises/migrations/0011_auto_20201214_0033.py+++ b/wger/exercises/migrations/0011_auto_20201214_0033.py@@ -387,7 +387,7 @@ def create_exercise_mapping(apps, schema_editor):print(exercise_group[langs[i]])else:exercise = exercise_objects[i]- exercise.exercise_base.delete()+ ExerciseBase.objects.filter(id=exercise.exercise_base.id).delete()exercise.exercise_base = exercise_base_mainexercise.save()@@ -395,7 +395,7 @@ def remove_mappings(apps, schema_editor):"""Backwards migration. Removes all variation data."""- print("Hello")+ passclass Migration(migrations.Migration):