This commit is contained in:
Johnson Chetty 2013-09-23 17:26:24 +02:00
commit 4c35d676f8

View File

@ -262,7 +262,8 @@ class ItfModel(models.Model):
imgfield = main_image_getter
if imgfield is None or imgfield.name == '':
imgfield = self.get_modelextra().default_image
if self.get_modelextra():
imgfield = self.get_modelextra().default_image
if imgfield:
try: