Self hosted FLOSS fitness/workout, nutrition and weight tracker
Also set the license data when copying over from the exercise model
Roland Geider09e29276b727
diff --git a/wger/exercises/migrations/0009_auto_20201211_0139.py b/wger/exercises/migrations/0009_auto_20201211_0139.pyindex 60fbaf3ce..e1025f9e6 100644--- a/wger/exercises/migrations/0009_auto_20201211_0139.py+++ b/wger/exercises/migrations/0009_auto_20201211_0139.py@@ -15,6 +15,9 @@ def copy_columns(apps, schema_editor):exercise_base.muscles.set(exercise.muscles.all())exercise_base.muscles_secondary.set(exercise.muscles_secondary.all())exercise_base.status = exercise.status+ exercise_base.license = exercise.license+ exercise_base.license_author = exercise.license_author+ exercise_base.license_author = exercise.license_authorexercise_base.save()exercise.exercise_base = exercise_base