[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 d

[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 ju

[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 cu

[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 c

[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 (Document

[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 (default/user/load)

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: > > Hi

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 Code

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: 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 be

[web2py] Anyone using Caddy for production deployment?

2020-05-05 Thread Valdeck Rowe
Playing with it now, and it appears to be so much simpler and less time intensive to get up and running... -- 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) ---

[web2py] Re: Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-05-05 Thread Valdeck Rowe
Thanks. This looks like it would most likely have worked for me. However I've moved away from Postgres for that project as it was mission critical and I was running out of time. I may revisit at a later time. Really appreciate the responses Thanks again everyone. On Sunday, April 19, 2020