#11238: Widespread {% for %} confusion
---------------------------+------------------------------------------------
 Reporter:  RantyDave      |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Documentation  |     Version:  1.0       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  1              |  
---------------------------+------------------------------------------------
 I currently get about fourty hits a day to this page -
 http://www.zedkep.com/blog/index.php?/archives/85-Iterating-over-a
 -dictionary-in-Django-templates.html. While I'm more than happy to help
 out the community and my ego appreciates the hits, I do think the world as
 a whole would be better served by fixing the root problem in the
 documentation.

 So here is it: people don't know how to iterate over dictionaries and
 merely including

 {{{
 {% for key,value in dictionary.items %}{{ value }}{% endfor %}
 }}}

 as an example would probably fix that. Can this be backported to the 1.0
 (and 0.96) docs too? Thanks, Dave.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11238>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to