[Grok-dev] Viewlets and update/render

Graham Stratton gns24 at mythic-beasts.com
Tue Jun 17 00:15:50 EDT 2008


On 15 Jun 2008, at 21:28, Brandon Craig Rhodes wrote:

> Graham Stratton <gns24 at mythic-beasts.com> writes:
>
>> I'm currently working around this by calling a redirect after each
>> form update, but I expect this isn't good practice.
>
> I always redirect after a POST (if that's what you're talking about)
> because then the user can reload the subsequent page as much as they
> want without any awkward messages about having to re-enact whatever
> action they just took just to get the page reloaded.  I therefore
> consider reloading after a form submission to be actually necessary;  
> is
> it a bad practice for reasons I've not run into yet?

Okay, that makes sense. So what am I meant to update in my update()  
method?

Thanks,

Graham


More information about the Grok-dev mailing list