From cb377fa8b55b8fa4eb79981af3c87a409c9965bf Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 22 Apr 2012 20:24:02 +0530 Subject: [PATCH] silly, get_good_description --- manifests/ships/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/ships/models.py b/manifests/ships/models.py index ed637d7..3e97120 100644 --- a/manifests/ships/models.py +++ b/manifests/ships/models.py @@ -87,9 +87,9 @@ class Good(models.Model): value = models.IntegerField(max_length=20, null=True) def get_description(self): - if description_string_trans != '': + if self.description_string_trans != '': return self.description_string_trans - if description_string != '': + if self.description_string != '': return self.description_string else: return self.description