[Baypiggies] Google AppEngine Templates

Bjorn Tipling bjorn.tipling at gmail.com
Fri Apr 11 02:36:05 CEST 2008


It's too bad that Mako doesn't work. It's not pure python if I recall
correctly. I like the default web framework it's pretty nice, and django
isn't so bad, although you can't run arbitrary python in it.

> -------- Original Message --------
> Subject: Re: [Baypiggies] Google AppEngine Templates
> From: "Shalabh Chaturvedi" <shalabh at cafepy.com>
> Date: Thu, April 10, 2008 2:45 pm
> To: "David Cramer" <dcramer at gmail.com>
> Cc: BayPiggies <baypiggies at python.org>
> 
> 
> On Thu, Apr 10, 2008 at 2:31 PM, David Cramer <dcramer at gmail.com> wrote:
> 
> > I was just more curious as to why Django is an included default (at least
> > that seems to be my understanding).
> >
> 
> Based on the examples I see in the docs, there is no default really - you
> have to return the HTML (or plain text) as a string from a python function.
> You can instead use a function to render a django template - django is just
> included as a bonus. If you want to use another library to generate the
> string, you can just upload it.
> 
> As to why django was included but not <your fav templating library> - I'm
> not sure, you might want to ask on the appengine group instead. I'm guessing
> they wanted to have at least one templating library to make it easier for
> people who don't care that much  (and django has a pretty big mindshare
> currently).
> 
> Shalabh
> 
> 
> >
> > On Thu, Apr 10, 2008 at 2:30 PM, Guido van Rossum <guido at python.org>
> > wrote:
> >
> > > On Thu, Apr 10, 2008 at 2:20 PM, David Cramer <dcramer at gmail.com> wrote:
> > > > Any idea why they decided to use Django? For me this is a very limited
> > > > engine. One of the first things we switched when using Django was the
> > > > template engine, to a very similar one, called Jinja (jinja.pocoo.org
> > > ).
> > > >
> > > > Maybe they plan to provide more options?
> > >
> > > I thought our messaging was pretty clear on this point -- you can use
> > > any framework you want but you have to upload it as part of your app.
> > >
> > > --
> > > --Guido van Rossum (home page: http://www.python.org/~guido/<http://www.python.org/%7Eguido/>
> > > )
> > >
> >
> >
> >
> > --
> > David Cramer
> > Director of Technology
> > iBegin
> > http://www.ibegin.com/
> >
> > _______________________________________________
> > Baypiggies mailing list
> > Baypiggies at python.org
> > To change your subscription options or unsubscribe:
> > http://mail.python.org/mailman/listinfo/baypiggies
> ><hr>_______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies



More information about the Baypiggies mailing list