I managed to go to the basics and got some progress:
def searches():
form = FORM(INPUT(_name='message'), INPUT(_type='submit'))
code = request.vars.message
return dict(code=code)
view:
Yes
Greetings,
In a new virtual environment using Python3's built-in venv functionality,
with IPython installed and latest web2py source. When dropping into a
web2py-ipython shell, starting ipython throws a "list index out of range"
exception and the shell defaults to interactive. Steps to reprodu
Hi.
I'll need your help. Am still stuck at this. I note that only when I
refresh the page, will I get the latest 'request.vars.value' gets posted to
the controller.
1. Is there a way of auto-refreshing the controller?
2. Is there a better method that this..Following your suggested
opt
First, read the documentation
at http://web2py.com/books/default/chapter/29/07/forms-and-validators, as
you do not appear to be following it. If for some reason you do not want to
use the built-in form functionality, just create an HTML form, and in the
action that receives the submission, the
tested on docker with ubuntu image no problem with python 2 and python 3
*e.g.*
*python 2 docker ubuntu image*
docker pull ubuntu
docker run -it ubuntu /bin/bash
apt update
apt install -y python-pip unzip wget
pip install ipython
wget -c http://web2py.com/examples/static/web2py_src.zip
unzip -o
Hi web2py community, I am a complete noob, so bear with me.
I have set up my server on DigitalOcean, set up my SSH and user
permissions, and run the following script successfully:
cd ~/
wget
https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
chmod
6 matches
Mail list logo