[web2py] Re: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

2018-01-14 Thread Alex Beskopilny
we can set page encoding in models/db.py T.force('ru') if request.env.wsgi_url_scheme in ['https', 'HTTPS']: session.secure() ... пятница, 5 января 2018 г., 22:41:19 UTC+3 пользователь Alexey Zaytsev написал: > > >

[web2py] Re: uploadfolder outside web2py

2018-01-14 Thread 'Annet' via web2py-users
Thank you all for your replies, This works : table.image.uploadfolder = '/home/webapps/uploads' to upload the images into separate folders I made the following adjustment: folder = 'vertexID' + str(vertexID) table.image.uploadfolder = os.path.join('/home/webapps/uploads/' + folder) The

[web2py] Re: uploadfolder outside web2py

2018-01-14 Thread Anthony
On Sunday, January 14, 2018 at 4:30:57 AM UTC-5, Annet wrote: > > Thank you all for your replies, > > This works : > > table.image.uploadfolder = '/home/webapps/uploads' > > to upload the images into separate folders I made the following adjustment: > > folder = 'vertexID' + str(vertexID) >