Re: [web2py] Re: Has anybody had experience with Visual Studio Code Remote Development?

2020-08-10 Thread Kevin Keller
Ok cool Andrew. Really good to know. Will give another try then. On Tue, Aug 11, 2020, 02:20 AGRogers wrote: > Thanks Villas. That's encouraging. > > On Tue, 11 Aug 2020, 2:17 am villas, wrote: > >> In the absence of other replies... >> >> Massimo has mentioned (in the py4web group) >>

Re: [web2py] Re: Has anybody had experience with Visual Studio Code Remote Development?

2020-08-10 Thread AGRogers
Thanks Villas. That's encouraging. On Tue, 11 Aug 2020, 2:17 am villas, wrote: > In the absence of other replies... > > Massimo has mentioned (in the py4web group) > that he > knows generally that many developers are using Visual

Re: [web2py] Re: Has anybody had experience with Visual Studio Code Remote Development?

2020-08-10 Thread AGRogers
Thanks Kevin. I didn't need to do anything in my app to be able to debug. My app was literally only two lines of code. Maybe things have changed? I will keep you posted with my progress. On Tue, 11 Aug 2020, 5:15 am Kevin Keller, wrote: > I tried to use it once remotely, not even web2py related,

Re: [web2py] Re: Has anybody had experience with Visual Studio Code Remote Development?

2020-08-10 Thread Kevin Keller
I tried to use it once remotely, not even web2py related, but there were quite some hoops to jump through, as far I as remembered. You have to add some custom code to your app to make communicate etc. and I could not be bothered. Anyways, I went back to just use vim with several plugins that make

[web2py] Re: How to shorten URL name for web2py with multiple controllers

2020-08-10 Thread villas
I'm pretty sure that you could omit the default_controller from all your routes, if you wish. Obviously additional controllers should be explicit. To shorten names, I suggest you set up aliases to your normal functions. You can do this on your webserver, or using the web2py routes file, or

[web2py] Re: Has anybody had experience with Visual Studio Code Remote Development?

2020-08-10 Thread villas
In the absence of other replies... Massimo has mentioned (in the py4web group) that he knows generally that many developers are using Visual Studio remotely and it is a very good set up, so he strongly recommends it. This seems

[web2py] Re: changing default redirect after failed login attempt.

2020-08-10 Thread David Orme
Just to note that I had a similar fix to make and I think this solution is flawed: > auth.settings.controller = 'plugin_user_admin' > > It's exactly the right setting, but initialising an Auth instance uses `settings.controller` to initialise a whole bunch of links and I don't think these ge