I guess we could modify the cache object to to this automagically. Open a ticket about it.
On Monday, 26 March 2012 17:57:15 UTC-5, Udi Milo wrote: > > Hi guys, > > I have an entity called article. > I want to build the ability to comment on each article. comment at least > need (created_on, user_id, article_id, text) > I'm running on GAE. > > On my index page I'm showing 30-60 articles and I want each article to > have its comments showing. how would you do it? > a. sending the data when the page loads? if so, how? DAL or DAL + cache? > b. load without it and use ajax to call each item separately? > > also, a random cache question: > > @cache('key',5) > function test(x): > return x > > Can I somehow get my parameter x into the key? >