Re: [web2py] Problems using Restful method PUT

2020-06-21 Thread António Ramos
Can you detail a litle more your vuejs and web2py side code? Em sáb., 20 de jun. de 2020 às 00:32, Ariel Antunez < ariel.antunezcant...@gmail.com> escreveu: > Hi everyone, I am working in a application using vue.js on vue-cli and > axios. I need to use the method PUT, but I get the error, METHOD

Re: [web2py] Schema for auth table

2020-06-21 Thread António Ramos
Why do you want or need schema B? Em sáb., 20 de jun. de 2020 às 21:14, Deep Shah escreveu: > Hi Team, > > I have 2 schemas A and B. Default schema for user is A. I am using > postgres. > I have authetication table in schema B. When i run application > auth.define_tables create auth table in sch

Re: [web2py] No module named error

2020-06-21 Thread António Ramos
check here https://stackoverflow.com/questions/4657484/how-can-i-use-modules-in-web2py Em sáb., 20 de jun. de 2020 às 21:14, patito feo escreveu: > Hi, > > Please define "all ok" > > __init__.py file in /modules > .py file in /modules > > > Thnx for your help! > > > > > El sábado, 13 de junio

[web2py] Re: Problem with upload field

2020-06-21 Thread Константин Комков
I tried to load file with long filename until that file was loaded. So maximal length for filename is 34 symbols. I do like that: last_symbol = len(document[key].filename) - 1 while document[key].filename[last_symbol] != '.': last_symbol -= 1 without_ext = document[key].filename[:last_symbol]