How to set variables in base template in django?

Posted by runge on Stack Overflow See other posts from Stack Overflow or by runge
Published on 2010-03-31T21:07:44Z Indexed on 2010/03/31 21:33 UTC
Read the original article Hit count: 316

Filed under:
|

i have template base.html and some children templates. I don't know how to set variables for base.html

for example if i have {% for u in users %}{% endfor %} where do I assign it to users? is there some parent view for all views?

© Stack Overflow or respective owner

Related posts about django

Related posts about template