I suppose your `session.mycli` doesn’t support the `extend()` method.

What the ticket generated by this error says?

—
Vinicius.




> On 28 Sep 2015, at 09:35, Mark Billion <[email protected]> wrote:
> 
> 504 Error:
>     if form.accepts(request,session):
>         session.mycli.extend(form.vars.id)
>         redirect(URL('client_edit', vars={'cli':form.vars.id}))
> 
> No Error:
>     if form.accepts(request,session):
>         #session.mycli.extend(form.vars.id)
>         redirect(URL('client_edit', vars={'cli':form.vars.id}))
> 
> I have used this session var previously, so I know it exists and is 
> populated.....Thoughts?
> 
> -- 
> Resources:
> - http://web2py.com <http://web2py.com/>
> - http://web2py.com/book <http://web2py.com/book> (Documentation)
> - http://github.com/web2py/web2py <http://github.com/web2py/web2py> (Source 
> code)
> - https://code.google.com/p/web2py/issues/list 
> <https://code.google.com/p/web2py/issues/list> (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 to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (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 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to