ah yes ! Okay, so I was importing a file, that imported another file in which I do have a from model import * which I now got rid of and it's working again. Thanks Christoph. Just out of curiosity, why wasn't it a problem when I was using kid ? Tom
On Feb 12, 1:57 pm, Christoph Zwerschke <[email protected]> wrote: > zaf schrieb: > > > here's the code : > >http://pastebin.com/m4fa26a61 > > The problem is if you simply rename "films" to "films_cat", then it > works, otherwise not? > > I can find no reason for that in these snippets themselves. > > Maybe at the top of your page template or your master template you have > something like "from model import *" so the films variable gets overridden? > > Btw, for debugging purposes you can add something like > <textarea py:content="repr(films)"/> or > <textarea py:content="type(films)"/> inside your templates. > > -- 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 -~----------~----~----~----~------~----~------~--~---

