BoundField.as_widget(widget=None, attrs=None, only_initial=False)
[source]
Renders the field by rendering the passed widget, adding any HTML attributes passed as attrs
. If no widget is specified, then the field’s default widget will be used.
only_initial
is used by Django internals and should not be set explicitly.
Please login to continue.