[Answered ]-Django form widget rendering

2👍

You can override the MultiWidget’s format_output method:

def format_output(self, rendered_widgets):
        return u'%s - %s - %s' % \
            (rendered_widgets[0], rendered_widgets[1], rendered_widgets[2])

There isn’t a ton of documentation on custom form widgets. I’ve only made a couple, and they took a lot of tinkering. Hope that helps!

Leave a comment