I am taking over a legacy project that uses web2py for an application for
inputting simple forms. The developer claims that the first person who logs
into the app with a fresh DB is the admin, however this is not the case.
The first user is just a regular user. I need to be able to have an admin
Is there a way to just cache the object and not the function?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe
want a controller to be re-executed, i.e. rebuild
the same tree.
This is where I get stuck - how do I get the cached tree without
creating a new 'root'?
root = cache.ram(str(tree_id), lambda:root, 5000)
Thanks!
Krista
--~--~-~--~~~---~--~~
You received th
not want a controller to be
re-executed, i.e. rebuild the same tree.
This is where I get stuck - how do I get the cached tree without creating a new
'root'?
root = cache.ram(str(tree_id), lambda:root, 5000)
Than
4 matches
Mail list logo