Integration of Twitter Bootstrap easily into any pyramid shape structure

I am creating a web service based on Pyramid, MongoEngine and Twitter Bootstrap. It contains only a few simple forms. What might be the best way to implement forms so that they interact well with Twitter Bootstrap? Basically I'm worried about having to hack all the HTML together by hand.

  • What Pyramid frameworks play nicely with Bootstrap out of the box with add-ons?

  • In the case where I need to distribute CSS classes etc. across all the templates, what could be the easiest way to do this?

I'm using Mongolian MongoEngine models, but there are very few of them and it's easy to adapt them to create a framework.

+3


source to share


2 answers


Deforming with deform_bootstrap is a smart choice.

deform_bootstrap: http://pypi.python.org/pypi/deform_bootstrap



You can see how it looks here:

http://deformdemo.xo7.de/

+6


source


You can also try deform_jinja2



+1


source







All Articles