Self hosted FLOSS fitness/workout, nutrition and weight tracker
Cast to unicode, otherwise an exception is thrown
Roland Geiderf83ae2f25821
diff --git a/wger/nutrition/models.py b/wger/nutrition/models.pyindex 43ec8eedb..2639d1aa0 100644--- a/wger/nutrition/models.py+++ b/wger/nutrition/models.py@@ -77,7 +77,7 @@ class NutritionPlan(models.Model):if self.description:return self.descriptionelse:- return _("Nutrition plan")+ return unicode(_("Nutrition plan"))def get_absolute_url(self):'''