On Sep 7, 2005, at 12:34 PM, Brant Harris wrote:
core.template.Context
What's the reason for this class? I can't see any point to it other
than as a dictionary wrapper.
It seems better to do:
t.render("answer": 42)
Rather then:
c = Context({"answer&quo
Bah just saw the new programmer's template tutorial. Although I still
think it'd be nice if you could just render a dict as well.
core.template.Context
What's the reason for this class? I can't see any point to it other
than as a dictionary wrapper.
It seems better to do:
t.render("answer": 42)
Rather then:
c = Context({"answer": 42)
t.render(c)
Unless there is another reason for it?