Django create custom form renderer like .as_ul or .as_p -


i know there questions how custom form renderer django, , know 1 of best ways creating form_snippet template things need.

but problem want back-end side, need create custom form renderer wich can {{ form.as_bootstrap }} in template.

someone knows way it?

you create method as_bootstrap in form, highly recommend own templatetag. in other side, question open, have tried? please extends question, otherwis, comunity close it.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -