We do this because Django won't let you apply classes directly to input
elements without going rather deep into the widget rendering logic. I think
the rationale is that swapping Bootstrap out should be a matter of changing
CSS only.

I haven't found this to be a problem when customizing the looks of a
Bootstrap site, you simply need to change the CSS selectors of your
customizations.

If you want to apply the CSS as suggested by the Bootstrap docs, there are
several Django packages that provide template tags to render form inputs
the Bootstrap way.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to