Re: widget rendering custom html

2018-04-06 Thread Stefano Tranquillini
The problem was that I've used cispy-form and apparently they don't work as expected. PS: i wrote a post about how I modified the widget and the rest to make it look different, https://stefanotranquillini.wordpress.com/2018/04/03/beautiful-django-widget-for-multi-selection/ On Tuesday, March 2

widget rendering custom html

2018-03-27 Thread Stefano Tranquillini
Hi all, I would like to personlize a widget adding an extra link. In particular I want to change the forms.widgets.CheckboxSelectMultiple . I've read this: https://docs.djangoproject.com/en/2.0/ref/forms/renderers/ but I can't still make it working, I did this piece of code class MultiChoiceFi