Am 10.06.2014 00:26, schrieb Uwe Schroeder:
After hours of unsuccessful googling and on the chance to out myself as
stupid, is there any documentation about what variables/methods/objects are
available by default in a template?
Old TG (pre 2) had a set of standard variables, which were documented. I have
to migrate a TG1.x app (pre 1.5) to something newer, simply because python 2.4
is majorly outdated and most api-libraries (i.e. youtube) don't support it
anymore.
They still exist in TG 2.3, but I don't find them documented either,
probably because that was originally covered by the Pylons docs.
You need to look at the source for now - here you see how they are set
up in the method _get_tg_vars:
https://github.com/TurboGears/tg2/blob/development/tg/render.py
-- Christoph
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.