lass="pre">&lt;%include&gt;</span></code>
– except you are calling a specific function within the
template, not the whole template.</p>
<p>The remote <code class="docutils literal notranslate"><span class="pre">&lt;%def&gt;</span></code> call is also a little bit like calling
functions from other modules in Python. There is an “import”
step to pull the names from another template into your own
template; then the function or functions are available.</p>
<p>To import another template, use the <code clas