[Answered ]-Get list of fields and widgets from django form

2👍

form = PortfolioForm()
tuple((field_name, form.fields[field_name].widget.__class__) for field_name in form.fields)

Within methods you can change form. on self.

Leave a comment