if form.process().accepted:
if request.vars.delete:
redirect(URL('index'))
On Sat, Mar 3, 2012 at 4:41 AM, HittingSmoke wrote:
> I created a very simple blog and when done editing a post, I am
> redirected to the updated post.
>
> This works great unless I'm deleting a post, in which
I created a very simple blog and when done editing a post, I am
redirected to the updated post.
This works great unless I'm deleting a post, in which case it spits
out an error because the post no longer exists.
How can I tell my controller to check the status of the deleted
checkbox before submi
2 matches
Mail list logo