[web2py] pydal for_update on sqlite

2020-02-03 Thread Eric


I'm using pydal revision 20191227.1 installed via pip.
Trying to use "for_update" in select on sqlite database results in an 
exception
sqlite3.OperationalError: near "FOR": syntax error


The adapter for sqlite does have special handling for "for_update", but it 
looks like pydal is adding " FOR UPDATE" to the select statement for all 
databases including sqlite, which causes the problem.

Related to this:
https://groups.google.com/forum/#!topic/web2py/0dD6SmKPuFU




-- 
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/97cd2ccf-0917-4708-9f25-c75c7c5522cb%40googlegroups.com.


[web2py] py4web - delete an app?

2020-02-03 Thread Martin Weissenboeck
Ok, I have learned how to create an app.
But I did not find any button to remove an app.
I can delete the directory of the app, but should not be there a button on
the dashboard for that?
Or is it well hidden?

Regards, Martin

-- 
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/CAMcwXCeyTvV0XjHVJWGLRQuo%2BfsQfmN45jy_1RBLrdz4Nyx5yQ%40mail.gmail.com.