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
-~----------~----~----~----~------~----~------~--~---

Reply via email to