This commit is contained in:
Sanj 2012-01-03 00:02:00 +05:30
parent 378c61f743
commit 5b884a18e1

View File

@ -94,6 +94,9 @@ class ItfModel(models.Model):
imgfield = main_image_getter() imgfield = main_image_getter()
else: else:
imgfield = main_image_getter imgfield = main_image_getter
else:
imgfield = self.get_modelextra().default_image #FIXME!!
if imgfield.name == '': if imgfield.name == '':
imgfield = self.get_modelextra().default_image imgfield = self.get_modelextra().default_image