Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the data from BoundField?

I would like to get the number 2 from my BoundField object, that's problematic because it is not iterable or doesnt support indexing.

<BoundField value=2 errors=None>

Can someone please help?


1 Answers

https://docs.djangoproject.com/en/2.2/_modules/django/forms/boundfield https://docs.djangoproject.com/en/2.2/ref/forms/api/#django.forms.BoundField.value

You can access a BoundField's value with BoundField.value().

like image 155
puppydog Avatar answered Dec 24 '25 08:12

puppydog



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!