id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 15667,Implement template-based widget rendering,Bruno Renié,,"Following [https://groups.google.com/d/topic/django-developers/fMQnk2fAo_A/discussion this proposal on django-dev], this ticket tracks the status of replacing the widgets rendering code with a template-based system. The proposal is based on an existing implementation, [https://github.com/brutasse/django-floppyforms django-floppyforms]. The api provides several ways of extending a widget: * Widget.template_name: the name of the template used to render the widget * Widget.get_context_data(): a way to inject additional context data * Widget.get_context(name, value, attrs=None): this method calls get_context_data() and provides the basic context variables: attrs, hidden, name, required, type. I'm actively working on a patch and will attach it to the ticket as soon as I can so that the implementation and extension points can be discussed.",New feature,closed,Forms,dev,Normal,fixed,form-rendering,carl@… idan@… Jannis Leidel ironfroggy@… Paul Oswald Bruno Renié trebor74hr@… gregor@… JMagnusson dmclain mathieu.agopian@… tom@… tgecho dguardiola@… mmitar@… philipe.rp@… Gwildor Sok cmawebsite@… slav0nic@…,Accepted,1,0,0,0,0,0