BoundField.value()
[source]
Use this method to render the raw value of this field as it would be rendered by a Widget
:
1 2 3 4 5 6 7 | >>> initial = { 'subject' : 'welcome' } >>> unbound_form = ContactForm(initial = initial) >>> bound_form = ContactForm(data = { 'subject' : 'hi' }, initial = initial) >>> print (unbound_form[ 'subject' ].value()) welcome >>> print (bound_form[ 'subject' ].value()) hi |
Please login to continue.