Skip to content

Instantly share code, notes, and snippets.

@hwshim0810
Created May 31, 2017 02:27
Embed
What would you like to do?
django admin thumnail image display
def get_thumb(self):
return format_html(
'<img src="{}" height="50" />'.format(self.inpupt_path)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment