[web2py] Re: In Web2py, how to redirect to another page after user login?

2020-07-11 Thread jonatha...@whatho.net
Why are you writing your own login function? What is wrong with the one in Auth (http://web2py.com/books/default/chapter/29/09/access-control#)? When I have used the Auth facilities, and I want to restrict access to a page, I use the decorater @auth.requires_login() before my controller functio

[web2py] Re: Hosting my web2py application

2020-10-27 Thread jonatha...@whatho.net
Do you want instructions on how to set up and run a server (Linux, Windows?) on your home premises? Instructions on how to install web2py on such a server? Instructions on how to provide access to web browsers out on the internet (e.g. setting up IP addresses on which the server can be contacted?

[web2py] Re: creating records in web2py after migration to postgresql

2021-04-01 Thread jonatha...@whatho.net
Do you have a question, because I an struggling to understand what it is? On Thursday, 1 April 2021 at 14:04:20 UTC+1 Aydin wrote: > I can create records in the interface of the postgresql and they show up > in the web2py database admin. But the user I created in postgresql cannot > login to th

[web2py] Re: creating records in web2py after migration to postgresql

2021-04-01 Thread jonatha...@whatho.net
s, the insert record > does not work. It returns no error. The record does not get created. > > > On Thursday, April 1, 2021 at 4:52:08 PM UTC-4 jonatha...@whatho.net > wrote: > >> Do you have a question, because I an struggling to understand what it is? >> >> O

[web2py] Re: python app in cpanel

2021-04-02 Thread jonatha...@whatho.net
I've never tried to execute it from C panel, but that error looks to me like web2py is trying to put up the dialogue requesting a password which uses TkInter, which is apparently not installed in your python. You can avoid that dialogue when running web2py by using the command "python web2py.py

[web2py] Re: anywhere.py rocket admin on port 80 no ssl

2021-04-16 Thread jonatha...@whatho.net
I do it by ssh'ing to the machine where I want to access the interface. In my case from my local (Linux) machine I do `ssh -L 80:127.0.0.1:80 u...@remote.machine.com`. This sets up a tunnel from the local m/c to the remote m/c. Then I access my local machine in the browser by 127.0.0.1:80 and ssh

[web2py] Re: standard html button within a web2py view

2021-04-28 Thread jonatha...@whatho.net
I would have a read of this and the following section in the book. http://www.web2py.com/books/default/chapter/29/03/overview#Simple-examples. It fairly quickly gets on to ways to include html. On Tuesday, 27 April 2021 at 23:54:15 UTC+1 james c. wrote: > Is it possible to use standard html ele

[web2py] Re: How to know if a dialogdiv is the front dialogdiv ?

2021-11-30 Thread jonatha...@whatho.net
Isn't this a jquery question? On Tuesday, 30 November 2021 at 17:53:36 UTC lapin...@gmail.com wrote: > Hello all, > > In my project I have a lot of dialogdiv (different sizes, different > functions, ) > They are independant and are opened at any time > I would like to know if there is a fa

[web2py] Re: Upgrading to a higher version of web2py through the admin interface

2022-01-18 Thread jonatha...@whatho.net
"My app is already online & being utilised so i dont wanna risk anything thats go mess it up." Then test it very carefully in a test environment before you do it to your live system, and have a backup of the live environment before you start, that you know works, so that when it all goes pear-s

[web2py] Re: left outer join

2022-02-20 Thread jonatha...@whatho.net
http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Left-outer-join On Saturday, 19 February 2022 at 02:48:35 UTC alex wrote: > Hi, > > How can I reproduce this LEFT OUTER JOIN in PyDAL ? > > > SELECT name > FROM doc > > LEFT JOIN ( > > SELECT name >

Re: [web2py] Use of .npz files vs DB

2022-04-30 Thread jonatha...@whatho.net
I'm probably wrong, but isn't this a numpy question? On Saturday, 30 April 2022 at 11:12:39 UTC+1 mauri...@gmail.com wrote: > I use it like this: > import numpy as np > data = np.load(os.path.join(current.request.folder, 'modules', > 'test_me.npz'), allow_pickle=True ) > moa = data['x'] > arr =

[web2py] Re: gmail smtp and password retrieval

2022-08-17 Thread jonatha...@whatho.net
I'm using web2py 2.22.3. My only email settings in db.py are are: ## configure email mail=auth.settings.mailer mail.settings.server = 'smtp.gmail.com:587' mail.settings.sender = '@gmail.com' mail.settings.login = '@gmail.com:' The length 16 password is the app pass

[web2py] Re: restful services call

2022-11-24 Thread jonatha...@whatho.net
It's up for me, as is the book at http://web2py.com/books/default/chapter/29/10/services#Restful-Web-Services which is where you can read about restful services. Hope I haven't misunderstood your question. On Thursday, 24 November 2022 at 07:56:36 UTC T.R.Rajkumar wrote: > Is web2py.com down,

[web2py] Re: https://web2py.com/book failing with internal error

2024-11-27 Thread jonatha...@whatho.net
Isn't it Massimo? On Wednesday, 27 November 2024 at 20:41:28 UTC Clemens wrote: > Same for me. Does anyone know, who's the provider of the site? My guess > is that it might be PythonAnywhere.com. Is there a way to contact them? > > On Tuesday, November 26, 2024 at 11:08:37 PM UTC+1 fre...@gmail.