Im searching this information in manual, at this moment no luck...
It is possible to pass a string or a dictionary to an included views?

Something like this:

--- layout.html
{{include 'block1.html' 'hello from block 1'}}
{{include 'block2.html' 'hello from block 2'}}
{{include 'block3.html' 'hello from block 3'}}
--- end layout.html

result in a rendered page like this:

<h1>hello from block 1</h1>
<h2>hello from block 2</h2>
<h3>hello from block 3</h3>

What interest me is the specifical possibility to tell to the included
block1.html to "include" (oh god...) the string 'hello from block 1'

A sort of recursive disaster... But it is exactly what I need...

ps: thanks to me all newbies searching in the group archive now will
find answers to all the most stupid questions in the universe I
fear...

Reply via email to