Yes just import it, call it in the action and return the string they generate.
On Jan 26, 2:05 pm, Albert Abril <albert.ab...@gmail.com> wrote: > Just for embroil more... > ...is possible in some way to use django template system, or jinja2 in > web2py? > > > > > > > > On Wed, Jan 26, 2011 at 8:54 PM, cjrh <caleb.hatti...@gmail.com> wrote: > > On Jan 26, 8:19 pm, VP <vtp2...@gmail.com> wrote: > > > To be fair, the most popular option right now is SQLAlchemy, an ORM. > > > DAL appears to be a minority approach. So, ORM must be good at > > > something right? > > > No. The number of people that support a thing has no bearing on that > > thing's correctness. None whatsoever. Very large numbers of people > > have supported really bad ideas throughout history, and even still > > today. Only the merits of the specific case before us matter, not how > > much support can be found for various options. > > > > To get web2py out of the PR's ditch, I think it's best to refrain from > > > commenting on perceived weaknesses of Django and other technologies. > > > Agreed. All we need to do is build great sites. And anyway, I don't > > see why we need to care about Django *at all*. Or any other > > framework for that matter. Why care? Focus on the platform > > available to us, i.e. HTTP (5?), CSS (3?), XML, Python (3?), and build > > the best web development framework for that. It doesn't hurt to > > consult the open literature (Django, Flask, Pyramid, Pylons, web.py, > > etc.), but the existing software is only a landmark on the route, not > > a stumbling block in the road.