[web2py] py4web: json-response on server errors

2020-03-10 Thread Val K
Hello! I'd like to discuss my PR https://github.com/web2py/py4web/pull/123 The reason: Currently, if you make an ajax request and expect json-response, in case of any error on the server, py4web returns a response that is an html page with response.status = 200. My PR changes this behavior to t

[web2py] Re: Migration from sqlite to mysql - different field-order

2020-03-10 Thread villas
You are in a mess because your sqlite table does not reflect your define_table for 'repo'. If you include auth.signature, then you should also have these fields: Field('is_active', 'boolean', default=True), Field('created_on', 'datetime', default=reques

Re: [web2py] pyweb login

2020-03-10 Thread Jim S
Can you run: locate py4web-start and post the results? -Jim On Monday, March 9, 2020 at 4:43:47 PM UTC-5, Maurice Waka wrote: > > still getting same results. > see image attached. > > > On Tue, Mar 10, 2020 at 12:25 AM Jim S > > wrote: > >> Can you now run >> >> >> py4web-start -c new_apps >>