Thursday, April 20, 2017

Re: Django forks

On Monday 17 April 2017 16:37:19 Matthew Pava wrote:

> Django 1.11 made a major change to widget rendering. I am wondering

> if this would help you significantly in your quest. The widget is

> rendered with a template. It would seem you could include the

> JavaScript in that template.

 

You can.

What I don't get is that the label is still coupled with the field instead of the widget. This would've been a chance to move it, so that we can render proper form groups for custom widgets.

 

Oh well.

 

--

Melvyn Sopacua

No comments:

Post a Comment