Serve static file in tornado

I write a web scrubber with tornado i want add a captcha to code i generated a image in static folder for captcha but can not show in html code this is return to me a captcha address captcha/{{(message['captcha']) }}.png but can not show that on static_url pattern like this:

<div><img src="{{ static_url("captcha/99100.png") }}"/></div>](url)


Read more here: https://stackoverflow.com/questions/67000389/serve-static-file-in-tornado

Content Attribution

This content was originally published by hosein montazer at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: