oops
This commit is contained in:
parent
378c61f743
commit
5b884a18e1
|
@ -94,6 +94,9 @@ class ItfModel(models.Model):
|
|||
imgfield = main_image_getter()
|
||||
else:
|
||||
imgfield = main_image_getter
|
||||
else:
|
||||
imgfield = self.get_modelextra().default_image #FIXME!!
|
||||
|
||||
if imgfield.name == '':
|
||||
imgfield = self.get_modelextra().default_image
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user