Commit 0eb4f02a authored by xaingling's avatar xaingling

fix api help text error

parent de02badd
......@@ -240,6 +240,8 @@ class ImageInline(admin.StackedInline):
def image_tag(self, obj):
the_link = get_script_prefix()[:-1] + obj.picture.url
print("the link {}".format(the_link))
print("the get_script_prefix {}".format(get_script_prefix()))
u = mark_safe('<img src="{url}" width="150" height="150" />'.format(
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment