Val K, yes I want transfer class objects in list like variable at first.
Then I tried save that variable in session, but it was unsuccess too. And
now I serialised all objects in list like that
json.dumps(my_object.__dict__) append all of them in list and save in
session.

вс, 5 янв. 2020 г., 12:19 Val K <valq7...@gmail.com>:

> You want to keep python object in memory  between requests? - it is bad
> idea. You should transform it to something that can be saved on disk or in
> db and recreate it in each request
>
> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/UrR2cxoFpDo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/d1bffc13-b8cc-4c19-8e41-87401c105944%40googlegroups.com
> .
>

-- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAM7z-Vn3wBk4yeqyZkbZqV0yZpSih9zB0WUqQCT8Jp9p3-zamg%40mail.gmail.com.

Reply via email to