zbyte64/django-jsonschema — pull request #1 by stanhu (2013-05-29 00:12:26+00:00)
Title: Use fields attribute if form is an instance

An instance of a Form is allowed to modify the 'fields' attribute dynamically but convert_to_form() ignores any changes since 'base_fields' is used. If the object is a Form, the convert_form() method will use the 'fields' attribute. If the object is a Class, the method will continue to use the 'base_fields' attribute.