This commit is contained in:
Sanjay B 2013-09-23 20:53:58 +05:30
parent 61616293c8
commit 849a673f8b

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: