It's caused when we forget we cannot make HTML execute python commands with the exception of filters and tags. So a "for loop" ( a tag) can iterate over list items or dictionary items but create or append a list.
List of some of the filters and tags supported.
http://www.djangobook.com/en/1.0/appendixF/
Sunday, November 7, 2010
Subscribe to:
Comments (Atom)