[web2py] redirect and decorators
hi, I have the following issue: @auth.requires_membership('admin') def foo(): form=FORM(blah some code here) if form.accepts(request.vars, session): #form method points to method bar below return dict(form=form) def bar(): redirect(URL(r=request,f=foo))
Re: [web2py] Re: redirect and decorators
o')) > > > On May 17, 4:00 pm, Robert Boulanger > wrote: >> hi, >> >> I have the following issue: >> >> @auth.requires_membership('admin') >> def foo(): >> form=FORM(blah some code here) >> if form.accepts(requ