Author: timo
Date: 2011-11-21 15:33:39 -0800 (Mon, 21 Nov 2011)
New Revision: 17138

Modified:
   django/trunk/docs/topics/forms/index.txt
Log:
Fixed #16851 - Added how-to access form field value in template; thanks 
yasar11732 for the patch.

Modified: django/trunk/docs/topics/forms/index.txt
===================================================================
--- django/trunk/docs/topics/forms/index.txt    2011-11-21 22:50:35 UTC (rev 
17137)
+++ django/trunk/docs/topics/forms/index.txt    2011-11-21 23:33:39 UTC (rev 
17138)
@@ -294,6 +294,9 @@
     The field's label wrapped in the appropriate HTML ``<label>`` tag,
     e.g. ``<label for="id_email">Email address</label>``
 
+``{{ field.value }}`` 
+    The value of the field. e.g ``[email protected]``
+
 ``{{ field.html_name }}``
     The name of the field that will be used in the input element's name
     field. This takes the form prefix into account, if it has been set.

-- 
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