typo
This commit is contained in:
parent
ffed838077
commit
4039310dbf
|
@ -54,7 +54,7 @@ class EmailerArticle(models.Model):
|
||||||
def get_images(self):
|
def get_images(self):
|
||||||
return self.articleimage_set.all()
|
return self.articleimage_set.all()
|
||||||
|
|
||||||
def getImgageHTML(self, short_name):
|
def getImageHTML(self, short_name):
|
||||||
img = ArticleImage.objects.filter(article=self).filter(short_name=short_name)
|
img = ArticleImage.objects.filter(article=self).filter(short_name=short_name)
|
||||||
if len(img) > 0:
|
if len(img) > 0:
|
||||||
return img.getHTML()
|
return img.getHTML()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user