[web2py] Problems with making the first user who logs in the "admin"

2018-07-26 Thread Krista King
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

[web2py:26163] Re: web2py cache

2009-07-10 Thread krista
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

[web2py:26058] cache

2009-07-09 Thread krista
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

[web2py:26057] web2py cache

2009-07-09 Thread Krista Larson
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