merged
This commit is contained in:
commit
4c35d676f8
|
@ -262,7 +262,8 @@ class ItfModel(models.Model):
|
||||||
imgfield = main_image_getter
|
imgfield = main_image_getter
|
||||||
|
|
||||||
if imgfield is None or imgfield.name == '':
|
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:
|
if imgfield:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user