Jiří Popek schrieb: > This strange behaviour happens to me some times... I found that if I > use <?python > block in KID template and define some variables, they > doesn't gets updated every time properly... other ways (passing the > variable from controller or defining in py:XXX blocks) works just
Maybe you put your <?python > block outside the <html> element? Then it will be only executed once when the template is loaded. http://www.kid-templating.org/language.html#embedding-code-blocks-python -- Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

