BoundField.as_hidden() assumes hidden_widget is a class
|Reported by:||Chris Beaven||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
hidden_widget of a field could just as easily be (and is, in a case I'm using) a Widget instance rather than a Widget class but
BoundField.as_hidden() assumes that it is always a class.
Simple patch attached checks first before trying to instantiate the