Re: [web2py] Re: login after period of inactivity

2020-05-05 Thread Maurice Waka
Actually, I want to customize the code to get better feedback, and after digging in I got this discussion I just don't know where to exactly place this code, or get something

Re: [web2py] Re: login after period of inactivity

2020-05-05 Thread Maurice Waka
I don't know what code I could show since the app is online, but in my routes.py: from fileutils import abspath from languages import read_possible_languages possible_languages = read_possible_languages(abspath('applications', app)) #

Re: [web2py] Re: web2py online debugger under python3

2020-05-05 Thread AGRogers
Hi Clemens I think a standalone debugger is much better. The online debugger could be great to debug applications in production though. Where are you doing your development? On your local machine or Python Anywhere or somewhere else? I don't think it's possible to debug using Visual Studio

Re: [web2py] Re: web2py online debugger under python3

2020-05-05 Thread Clemens
Hi Andrew, well, I would say, it's because I ever used it and it's okay for me. But which one would you recommend? And how to connect your favorite debugger with web2py? Never used another debugger for web2py. Regards Clemens On Tuesday, May 5, 2020 at 1:56:25 AM UTC+2, AGRogers wrote: > >

[web2py] Re: login after period of inactivity

2020-05-05 Thread Jim S
Can you show some code? -Jim On Tuesday, May 5, 2020 at 1:38:29 PM UTC-5, Maurice Waka wrote: > > I notice this message after a period of inactivity. See attached. > The problem is that on clicking on the login link on the app on > pythonanywhere, I get an error: invalid view

[web2py] login after period of inactivity

2020-05-05 Thread Maurice Waka
I notice this message after a period of inactivity. See attached. The problem is that on clicking on the login link on the app on pythonanywhere, I get an error: invalid view (default/user/load). How can I resolve this? Regards -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: Autocomplete widget filter values

2020-05-05 Thread 'Annet' via web2py-users
Hi Anthony, I am rebuilding an application that uses the jQuery UI autocomplete widget. In the view I have the following code: $(function() {$("#no_table_name").autocomplete({source: "{{=URL('jquery', 'name_autocomplete')}}", minLength: 2});}); name_autocomplete is a function in the jquery

[web2py] Re: web2py - date picker issue

2020-05-05 Thread Scott Hunter
If this is part of a form (which I have to guess at, since you have provided *no* details), you can use the `keepvalues` option to not reset the fields of a form. On Tuesday, May 5, 2020 at 8:24:32 AM UTC-4, Anuj Mahawar wrote: > > Hey Scott, > Yeah, I meant that the date is resetting to the

[web2py] Re: web2py - date picker issue

2020-05-05 Thread Anuj Mahawar
Hey Scott, Yeah, I meant that the date is resetting to the current date even though I am selecting any previous date. Do you have any suggestions to change this default behavior? On Tuesday, May 5, 2020 at 5:22:30 PM UTC+5:30, Scott Hunter wrote: > > What do you mean by "redirected"? If you

[web2py] Re: web2py - date picker issue

2020-05-05 Thread Scott Hunter
What do you mean by "redirected"? If you just mean that the date field is reset to the current date, that is the same default behavior for all input fields. On Tuesday, May 5, 2020 at 12:44:31 AM UTC-4, Anuj Mahawar wrote: > > I am a beginner to the web2py. I am building an application with a