Skip to content

Commit

Permalink
Merge pull request #38 from fim13/fix#36
Browse files Browse the repository at this point in the history
fixes #36
  • Loading branch information
platzhersh authored Jan 22, 2020
2 parents f30cfa0 + 1d1f163 commit 798039c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velafrica/stock/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def admin_image(self):
u"<img src='{image_src}' style='max-height: 100px;' alt='{title}' title='{title}'' />",
image_src=self.image.url,
title=self.name
)
) if self.image else u"-"

admin_image.allow_tags = True
admin_image.short_description = "Produkt"
Expand Down

0 comments on commit 798039c

Please sign in to comment.