Specify in docs that template variables created e.g. by {%url%} are block-local
Hi. {% url view_name as var %} seems to create a var whose scope is the block where the tag was called. This is not evident from the documentation, and took me a little while to figure out.
I assume this is the behavior of any other templatetag that lets you create a variable. Maybe you could add a section about scoping in the template system, and then have a link to it from the docs for each templatetag.
I am using Django 1.1 on Google App Engine, if that makes a difference.
Change History
(7)
Triage Stage: |
Unreviewed → Accepted
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Change UI/UX from NULL to False.