Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Correctly set exercise base in images

Roland Geider52eb645872fe
diff --git a/README.md b/README.md
index 16a29fee6..dcb7bf776 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,12 @@ For a live system, refer to the project's site: <https://wger.de/>
![Workout plan](https://raw.githubusercontent.com/wger-project/wger/master/wger/software/static/images/workout.png)
+## Mobile app
+[<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png"
+ alt="Get it on Google Play"
+ height="80">](https://play.google.com/store/apps/details?id=de.wger.flutter)
+
+
## Installation
These are the basic steps to install and run the application locally on a Linux
diff --git a/wger/exercises/management/commands/download-exercise-images.py b/wger/exercises/management/commands/download-exercise-images.py
index 48817ded0..c7da9b7b0 100644
--- a/wger/exercises/management/commands/download-exercise-images.py
+++ b/wger/exercises/management/commands/download-exercise-images.py
@@ -131,7 +131,7 @@ class Command(BaseCommand):
img_temp.write(retrieved_image.content)
img_temp.flush()
- image.exercise = exercise_base
+ image.exercise_base = exercise_base
image.is_main = image_data['is_main']
image.status = image_data['status']
image.image.save(