according to book :, 
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
@cache.action(time_expire = cache_time_expire, cache_model = cache_model, 
quick = cache_quick, prefix = cache_prefix)
def report_bank():
rows_currency = db( > 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,

- (Documentation)
- (Source code)
- (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 
For more options, visit

Reply via email to