Re: [web2py] Re: Clear a form after submit

2019-02-06 Thread Dave S
On Wednesday, February 6, 2019 at 4:49:43 AM UTC-8, Ben Duncan wrote: > > Ok, I found the answer. It's by putting in the entry ' autocomplete="off" > ' in the does not allow previous values to be accessed. This is the behavior I was > looking for. > > Ah, interesting. I have a field where

Re: [web2py] install script for web2py using python 3

2019-02-06 Thread Ben Lawrence
Just to continue this thread for installing postgresql on a LXD container and connecting remotely: sudo apt-get install lxd zfsutils-linux bridge-util root@tca:~# lxd init Would you like to use LXD clustering? (yes/no) [default=no]: no Do you want to configure a new storage pool? (yes/no)

Re: [web2py] install script for web2py using python 3

2019-02-06 Thread Richard Vézina
That what I thought... It easy to messup with pip pip3 or python python3 also with virtualenv it even trickier because the pipenv use the python and pip for the actual version installed... So you might end pass from pip3 in the os and pip in the pipenv and you still use py3 in both... On Wed, Feb

[web2py] Re: Google analytics

2019-02-06 Thread Yi Liu
I reported this issue a year ago: https://groups.google.com/forum/#!searchin/web2py/analytics%7Csort:date/web2py/1_kCqFydZd8/kvywhYKUAQAJ Nobody replied to my post :) Recently, I upgrade to the analytics.min.js in 2.17.2, still does not work. So i am still using the analytics.min.js in 2.8.1.

Re: [web2py] install script for web2py using python 3

2019-02-06 Thread Ben Lawrence
Hi, it works now... I missed a pip3... works on a newly spun ubuntu 18.04 instance on vultr.com #!/bin/bash echo 'setup-web2py-nginx-uwsgi-ubuntu-precise.sh' echo 'Requires Ubuntu > 12.04 or Debian >= 8 and installs Nginx + uWSGI + Web2py' # Check if user has root privileges if [[ $EUID

Re: [web2py] Re: how do I Select in a FORM using a database.

2019-02-06 Thread Ben Duncan
Again, thanks Dave. Seems if you do not use the full feature set of SQLFORM(factory) the IS_IN_DB method does not work. I was using the view to populate the form, but then simply using the sqlform to get the values. My way around this is something like this from the view:

Re: [web2py] Re: Clear a form after submit

2019-02-06 Thread Ben Duncan
Ok, I found the answer. It's by putting in the entry ' autocomplete="off" ' in the From my testing and sample, I probably, like you will be using the FORM construct for this project rather than the SQLFORM libraries ... *Ben Duncan* DBA / Chief Software Architect Mississippi State Supreme Court

[web2py] Re: Folder sessions

2019-02-06 Thread Константин Комков
If I use first method my services was stoped and cannot be run, enother method open in text editor file web2py.py. The better for me use nssm becouse I can delete folder session manually(online 2 - 10 students). Stud is my application name. Maybe that picture help, becouse I tried also:

[web2py] Smartgrid search for NULL values

2019-02-06 Thread Rakesh Singh
Hello, I have been trying to search for entries using a smartgrid where a column is null. users.email_address = "NULL" users.email_address = 'NULL' users.email_address = NULL etc. The result is always 0 records. If I run the SQL on my SQL Client, I do get records. ie. select * from users

[web2py] Re: Folder sessions

2019-02-06 Thread Dave S
On Tuesday, February 5, 2019 at 11:05:14 PM UTC-8, Константин Комков wrote: > > In book I see: >> >> You will probably need to include the full path to both web2py.py and the >> scripts folder, and the trailing & is not needed. > > Why both? I have only one file which called web2py. > Services

[web2py] status of gluon.contrib.hypermedia ?

2019-02-06 Thread Thomas Klopf
Hello everyone, Please does anyone have some documentation on this module? gluon.contrib.hypermedia It seems better than parse_as_rest in some ways, but I'm not sure about how to customize it. Thanks! Tom -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -