wat is the advantage of 
return render.bar()
as opposed to old way of

return web.render('bar.html')

Justin Davis wrote:
Hmmm, works for me during a quick test.

my test went like this:

render = web.template.render('foo/')
render._bar()

With the same directory structure that worked for me.  How did you
define your render variable, and what's in your template?

On Apr 30, 1:33 pm, docyes <[EMAIL PROTECTED]> wrote:
  
directory:
foo->
        _bar.html

python:
render._bar()

result:
barf
    

  

--~--~---------~--~----~------------~-------~--~----~
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