according to book : 
http://web2py.com/books/default/chapter/29/04/the-core?search=response.render, 
the response.render is used in controllers, let say, my controller is 
contain nested loop and i decide to put it on views, but i don't want to 
lose the web2py cache function
*e.g.*
*controllers/default.py*
@cache.action(time_expire = cache_time_expire, cache_model = cache_model, 
quick = cache_quick, prefix = cache_prefix)
def report_bank():
rows_currency = db(db.currency.id > 0).iterselect()
return dict(rows_currency = rows_currency)

and put the nested loop in views, my question is this function is cached 
without assigned to response.render? if not how can i cache this function 
using web2py way?

thanks and best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to