From 6b711427472b91f5cf282532c272e7d4688a8430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Mon, 18 Feb 2013 22:08:21 +0100 Subject: [PATCH] Recover commit 6a639fe49803a78f514d1001d2ff1c3069cb3ce9 --- openslides/motion/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openslides/motion/models.py b/openslides/motion/models.py index 24e30c0c9..88f6c665e 100644 --- a/openslides/motion/models.py +++ b/openslides/motion/models.py @@ -350,7 +350,7 @@ class Motion(SlideMixin, models.Model): def get_agenda_title(self): """Return a title for the Agenda.""" - return self.last_version.title + return self.last_version.title # TODO: nutze active_version ## def get_agenda_title_supplement(self): ## number = self.number or '[%s]' % ugettext('no number') @@ -529,7 +529,7 @@ class MotionLog(models.Model): motion = models.ForeignKey(Motion, related_name='log_messages') """The motion to witch the object belongs.""" - message = models.CharField(max_length=255) + message = models.CharField(max_length=255) # TODO: arguments in message, not translatable """The log message. Should be in english.