Thats the idea of MVC. Using the select in the controller will also means the call is part of the compiled pyc unlike kid.
On Feb 24, 2:34 am, "Will" <[EMAIL PROTECTED]> wrote: > Hi, > > I have found it convenient to use the model directly from my > templates, ie something like model.News.Select()[:10] in a py:for. But > it feels like I'm abusing the MVC paradigm a little. Would it be > better to do the Select in my controller and pass in a list to the > template? > > Regards, > > Will McGugan > --http://www.willmcgugan.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

