silly, get_good_description

This commit is contained in:
Sanj 2012-04-22 20:24:02 +05:30
parent c7dcd5343f
commit cb377fa8b5

View File

@ -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