inheritance doesnt work with render_cheetah

On Sat, Mar 28, 2009 at 6:17 AM, Alex K <[email protected]> wrote:

>
> Includes are pretty nasty, you should use inheritance instead.
>
> On Mar 28, 10:07 am, [email protected] wrote:
> > templetor does not have #Include "file.html"
>  >
> >
> >
> >
> >
> > On Sat, Mar 28, 2009 at 1:59 AM, Alex K <[email protected]> wrote:
> >
> > > Hi Paul,
> >
> > > Why don't you use templetor? I used to use Cheetah but now I just
> > > can't go back.
> >
> > > Alex
> >
> > > On Mar 27, 5:27 pm, paul jobs <[email protected]> wrote:
> > > > yes but include doesnt work as we call Template from app directory
> and
> > > > templates are in templates dir
> > > > if it were in the same directory it will just work
> > > > But if you see cheetah.py that anand used in .2 he did the same thing
> to
> > > > ensure #include s work
> > > > i merely copied the relevant part to make #includes work in
> > > render_cheetah
> > > > On Fri, Mar 27, 2009 at 7:46 AM, Anand Chitipothu <
> [email protected]
> > > >wrote:
> >
> > > > > web.py is trying to provided an easy interface to Cheetah using
> > > > > render_cheetah function.
> > > > > I don't think we should try to add any new functionality that not
> > > > > available in Cheetah.
> > > > > If include is supported by Cheetah, it should just work.
> >
> > > > --
> > > > BidEgg - Worlds best low price Auction sitehttp://bidegg.com
> >
> > > > BidEgg - Worlds best low price Auction site
> >
> > > >  cheetah.py
> > > > 4KViewDownload
> >
> > > >  __init__.py
> > > > 1KViewDownload
> >
> > > >  template.py
> > > > 6KViewDownload
> >
> > --
> > Bidegg worlds best auction sitehttp://bidegg.com
>  >
>


-- 
BidEgg - Worlds best low price Auction site
http://bidegg.com

BidEgg - Worlds best low price Auction site

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to