Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fixed my __str__ function

gmmoraes78dfc0c6b2bb
diff --git a/wger/exercises/models.py b/wger/exercises/models.py
index 958fe0357..cdafb9539 100644
--- a/wger/exercises/models.py
+++ b/wger/exercises/models.py
@@ -270,7 +270,7 @@ class Exercise(AbstractSubmissionModel, AbstractLicenseModel, models.Model):
'''
Return a more human-readable representation
'''
- return '%s %s' % (self.name)
+ return self.name
#
# Own methods