|
So when you use the cache decorator on a controller, it only caches the
controller output...not the rendered view? If someone wanted to cache the rendered view, how would they do that? -tim mdipierro wrote: Because you override the view in the action which is not executed when cached.To fix it, outside the index function add if request.function=='index': response.view = "parents_normal_form.html" Massimo On Jan 6, 10:07 am, voltron <[email protected]> wrote:I used disk and RAM, like I mentioned above, no errors except that it shows web2pys generic template instead of the one I declared On Jan 6, 3:49 pm, mdipierro <[email protected]> wrote: -- Timothy Farrell <[email protected]> Computer Guy Statewide General Insurance Agency (www.swgen.com) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [web2py:14613] Cacheing makes web2py "forget" te... voltron
- [web2py:14615] Re: Cacheing makes web2py "forget... mdipierro
- [web2py:14616] Re: Cacheing makes web2py "fo... voltron
- [web2py:14618] Re: Cacheing makes web2py &quo... mdipierro
- [web2py:14621] Re: Cacheing makes web2py ... voltron
- [web2py:14623] Re: Cacheing makes we... mdipierro
- [web2py:14626] Re: Cacheing make... Timothy Farrell
- [web2py:14627] Re: Cacheing ... mdipierro
- [web2py:14628] Re: Cacheing ... mdipierro
- [web2py:14669] Re: Cacheing ... voltron
- [web2py:14670] Re: Cacheing ... Timothy Farrell
- [web2py:14671] Re: Cacheing ... mdipierro
- [web2py:14673] Re: Cacheing ... DenesL
- [web2py:14675] Re: Cacheing ... DenesL
- [web2py:14716] Re: Cacheing ... Jonathan Benn

