#15589: form's field.value not documented
------------------------------+---------------------------
 Reporter:  chris@…           |         Owner:  nobody
   Status:  new               |     Milestone:
Component:  Documentation     |       Version:  1.3-beta
 Keywords:  Form Field Value  |  Triage Stage:  Unreviewed
Has patch:  0                 |
------------------------------+---------------------------
 On http://docs.djangoproject.com/en/dev/topics/forms/
 Section "Looping over the form's fields"

 Add:
 {{ field.value }}
 The value of the field.

 Example usage:
 {% for field in form %}
    {% if field.value %}
       <p>{{ field.label_tag }}:{{ field.value }}</p>
    {% endif %}
 {% endfor %}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15589>
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 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.

Reply via email to