4
我是Python和Tornado Web框架的初學者。當我在書裏學習模板部分「Introduction to Tornado」,一條線搞糊塗了:static_url調用Tornado
<link rel="stylesheet" href="{{ static_url("style.css") }}">
應用怎樣才能知道在哪裏調用函數static_url
當沒有進口到命名空間庫?我在Tornado的web模塊中發現了static_url()
,但我無法弄清楚該模塊文件中如何成功調用該函數?
謝謝!我會研究這一點。 – Kuan 2013-03-15 20:40:53