Self hosted FLOSS fitness/workout, nutrition and weight tracker
Use lazy translation on models as recommended by the django documentation
Roland Geider300689fe8389
diff --git a/exercises/models.py b/exercises/models.pyindex f363b261a..3482d034a 100644--- a/exercises/models.py+++ b/exercises/models.py@@ -16,7 +16,7 @@# along with Workout Manager. If not, see <http://www.gnu.org/licenses/>.from django.db import models-from django.utils.translation import ugettext as _+from django.utils.translation import ugettext_lazy as _from django.core.urlresolvers import reversediff --git a/manager/models.py b/manager/models.pyindex 420a9f96a..747d4055d 100644--- a/manager/models.py+++ b/manager/models.py@@ -19,7 +19,7 @@ import loggingfrom django.db import modelsfrom django.db.models.signals import post_save-from django.utils.translation import ugettext as _+from django.utils.translation import ugettext_lazy as _from django.contrib.auth.models import Userfrom django.core.validators import MaxValueValidatordiff --git a/nutrition/models.py b/nutrition/models.pyindex feb51191f..9e775ab93 100644--- a/nutrition/models.py+++ b/nutrition/models.py@@ -20,7 +20,7 @@ from django.db import modelsfrom django.core.validators import MaxValueValidatorfrom django.contrib.auth.models import User-from django.utils.translation import ugettext as _+from django.utils.translation import ugettext_lazy as _from exercises.models import Languagediff --git a/weight/models.py b/weight/models.pyindex 232990d1b..890c4c0dd 100644--- a/weight/models.py+++ b/weight/models.py@@ -18,7 +18,7 @@from django.db import modelsfrom django.contrib.auth.models import User-from django.utils.translation import ugettext as _+from django.utils.translation import ugettext_lazy as _class WeightEntry(models.Model):"""Model for a weight point