Assuming session.mycli is a list, then it should be 
session.mycli.append(form.vars.id). The .extend method takes an iterable 
(e.g., another list).

Anthony

On Monday, September 28, 2015 at 8:35:13 AM UTC-4, Mark Billion 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/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