I was looking into a way to change the fields of a form dynamically in Django and came across the fields attribute.
fields
This attribute makes sense to me and work