Re: [Django] #10009: Wrong variable name in example (page "Working with forms")

2009-02-09 Thread Django
#10009: Wrong variable name in example (page "Working with forms")
+---
  Reporter:  kari...@gmail.com  | Owner:  nobody
Status:  new| Milestone:
 Component:  Documentation  |   Version:  1.0   
Resolution: |  Keywords:
 Stage:  Ready for checkin  | Has_patch:  0 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by SmileyChris):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Ready for checkin
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Yep, either this fix, or I'd be more inclined to change the first line to
 `{% for field in form.hidden_fields %}`
 I'll let the committer decide

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



[Django] #10009: Wrong variable name in example (page "Working with forms")

2009-01-11 Thread Django
#10009: Wrong variable name in example (page "Working with forms")
---+
 Reporter:  kari...@gmail.com  |   Owner:  nobody
   Status:  new|   Milestone:
Component:  Documentation  | Version:  1.0   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 In the "Working with forms"
 (http://docs.djangoproject.com/en/dev/topics/forms/) page the third
 example from the bottom has a wrong variable in one place.  The relevant
 code in the example is:

 {{{
 {% if forloop.first %}
 {% for hidden in form.hidden_fields %}
 {{ field }}
 {% endfor %}
 {% endif %}
 }}}

 Instead of {{ field }} it should read {{ hidden }} (unless I am much
 mistaken).

 Thanks for all your hard work!

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---