How to make tmpl_context auto-assigned arguments of methods

2 views
Skip to first unread message

lixin China

unread,
Jan 11, 2010, 4:46:17 AM1/11/10
to pylons-discuss
I set-up the lastest pylons and starting my tour.

I read some pylons docs(http://pylonsbook.com/en/1.1/exploring-
pylons.html) and source(QuickWiki).
And notice these resources say tmpl_context automatically sets up the
c object to have any of the Routes variables that your action
specified attached to it.

But it doesn't work now. So I view the changelog.

changelog(http://pylonshq.com/project/pylonshq/browser/CHANGELOG)
tells us
8 * WARNING: Method arguments no longer assigned to 'tmpl_context' by
default.
9 * WARNING: Changed default to strict_tmpl_context.

I just wonder how to configure this default behaviour of c object .

Thanks in advance.

Reply all
Reply to author
Forward
0 new messages