[web2py] Re: upload and download, in order to manage attached files

2017-05-18 Thread Dave S
On Thursday, May 18, 2017 at 8:42:40 AM UTC-7, J-Michel Angers wrote: > > One step more :-) > Without changing the above code, it's working now. > The change I've written ==> in the DAL, I had "db_codec='latin1' ". I > just removed it for another reason, and it works now. > ... And I understa

[web2py] Re: upload and download, in order to manage attached files

2017-05-18 Thread J-Michel Angers
One step more :-) Without changing the above code, it's working now. The change I've written ==> in the DAL, I had "db_codec='latin1' ". I just removed it for another reason, and it works now. ... And I understand now the link /default/download/ : it's / controlleur="default" / function="down

[web2py] Re: upload and download, in order to manage attached files

2017-05-18 Thread J-Michel Angers
Thank you Dave for your advices ! You're right, I didn't look at the "download" function, and I didn't change it. I've done this now : (1) I've removed the "auth" condition, and I change the db to dbW = the database for my app I also change the line in the view. New version of download : def do

[web2py] Re: upload and download, in order to manage attached files

2017-05-17 Thread Dave S
On Wednesday, May 17, 2017 at 9:57:50 AM UTC-7, J-Michel Angers wrote: > > Hi, > I'm building an app to fill "PurchaseRequest", to valid it by the staff, > and then type a "PurchaseOrder". Exactly like with a paper form that we > fill, and get signatures to valid it. > Now the main boby of the