Either the code's wrong or the docs are wrong:
According to this:
http://webpy.org/cookbook/layout_template
This should work:
render = web.template.render("templates/", cache = False, base =
"layout")
But instead, I get this:
TypeError: __init__() got an unexpected keyword argument 'base'
Even though I've created templates/{register.html, layout.html}
appropriately. Is there a secret documentation vault I'm missing?
Everything seems to be a battle.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---