Richard,
Thanks a lot for the pointers. The cache test code provided the
information I needed.
I had tried to look for answers only in the group and docs.
Note to self: Look at the groups, docs, source and test codebase, before
posting a question
Kiran
About Cache, you may try to import gluon cache.py module and see if it can
solve you requirement.
Something like that :
from cache import CacheInRam, CacheOnDisk, Cache
You may need to include it in python path...
Richard
On Wed, Sep 30, 2015 at 8:22 AM, Kiran Subbaraman <
subbaraman.ki...@gma
https://github.com/web2py/web2py/blob/1e66fa3a93560aa5d32c27a6b1b7251e0dd8a428/gluon/cache.py
Here the test file about cache :
https://github.com/web2py/web2py/blob/1e66fa3a93560aa5d32c27a6b1b7251e0dd8a428/gluon/tests/test_cache.py
Richard
On Wed, Sep 30, 2015 at 9:33 AM, Richard Vézina wrote:
Hello group,
I have a standard web2py application, but within its modules directory, I
have a bunch of code which run within the web2py context (and its
scheduler), and also as scripts independent of web2py. It is just that this
code resident within web2py's modules.
I wanted to use the web2py c
4 matches
Mail list logo