django-jsonform 2.13.0 release notes¶
Oct 09, 2022¶
This release brings some minor but important changes.
Like the previous version, it also supports
Django >= 2.0 and
Python >= 3.4.
This concerns you if you’ve overridden the widget’s template in your projects.
There have been a lot of changes to the template. Please take a look at the updated template.
The context variables sent by the widget have also been renamed. Take a look at the updated context variables.
This concerns you if you’ve subclassed the
JSONFormWidgetclass in your projects.
Specifically, the context variables returned by the
rendermethod of widget have been changed/renamed. Take a look at the updated render method.
Dropped jQuery dependency
Earlier releases relied upon jQuery to generate the widget for Django’s Inline formsets. This release get rids of the jQuery calls.
File Clear button
File input’s Clear button will not send a
DELETErequest now. This is done to state in-tune with Django’s Clear button which only empties the file input, and doesn’t delete it. A dedicated Delete button may be added in future.
I want to thank all the people who contributed code, bug reports, feature requests and improvement suggestions.