I am starting to work with a Python and Tornado web map. When I studied part of the template in the book " Introduction to Tornadoes" , one line confused me:
<link rel="stylesheet" href="{{ static_url("style.css") }}">
How can an application know where to call the static_url function if there is no library imported into the namespace? I found static_url() in the Tornado web module, but I cannot figure out how this function can be successfully called in this template file?
source share