[web2py] Off-line RSS reader

2018-04-02 Thread Stelios Koroneos
Greetings to all. A small intro before going into the request Used web2py 4 years as a web interface to a voip applications and really liked its features compared to other frameworks. Haven't used it since and its nice to see that work has continued and its been improved in a lot of ways. Downlo

[web2py] customizing SQLFORM to insert many rows from one form

2018-04-02 Thread Mashareq M
Hi, I am creating a web app for attending employees. This is the model: db.define_table( 'employee', Field('name'), format = '%(name)s') db.define_table( 'attendance', Field('employee_id',db.employee), Field('attend','boolean'), Field('comments','text') ) This is t

Re: [web2py] Re: UnicodeDecodeError "'utf-8' codec can't decode..." when inserting a blob in database (python 3.6.3)

2018-04-02 Thread Mathieu Clabaut
Alexandre, just go to : https://github.com/web2py/web2py/issues/new And fill in the issue withe the information given in your mail. Le ven. 30 mars 2018 à 16:50, a écrit : > Sure! Let me see how to do that and I will. Thank you > > > Le mercredi 28 mars 2018 18:49:08 UTC+2, Massimo Di Pierro a

[web2py] Re: customizing SQLFORM to insert many rows from one form

2018-04-02 Thread Anthony
See https://stackoverflow.com/a/49613367/440323. On Monday, April 2, 2018 at 10:37:09 AM UTC-4, Mashareq M wrote: > > Hi, > > I am creating a web app for attending employees. > > This is the model: > > db.define_table( > 'employee', > Field('name'), > format = '%(name)s') > db.define

[web2py] direct upload in directory

2018-04-02 Thread Diego Tostes
Hi, i have a table in my model called ensaios: Ensaios = db.define_table('ensaios', Field('codigo_registro', 'string'), Field('url', 'string'), Field('titulo_pt', 'string'), Field('titulo_en', 'string'), Field('tags', 'text'), Field('contato_publico', 'string'), Field

[web2py] Re: direct upload in directory

2018-04-02 Thread Diego Tostes
2018-04-02 13:22 GMT-03:00 Diego Tostes : > Hi, > > > i have a table in my model called ensaios: > > Ensaios = db.define_table('ensaios', > Field('codigo_registro', 'string'), > Field('url', 'string'), > Field('titulo_pt', 'string'), > Field('titulo_en', 'string'), > Field('tag

[web2py] Copy table with an upload field from one database to another without disturbing the files.

2018-04-02 Thread James McGlynn
Hello, I am using web2py on heroku. I have two installed applications using two different postgres databases. I am trying to copy all the data from one of the databases to the other. One of the tables has an upload field which uses s3 as the filesystem. I don't want to duplicate the files, I

[web2py] Re: FYI: A tutorial on how to customize export in SQLFORM.grid

2018-04-02 Thread greenpoise
Very cool thanks On Sunday, April 1, 2018 at 12:08:30 AM UTC-7, Ray (a.k.a. Iceberg) wrote: > > Stumbled upon this blog post "Export in web2py's SQLFORM.grid > " by Prasad Muley. It provides > concrete example on how to customize an exporter TO REMOVE T

[web2py] Re: Off-line RSS reader

2018-04-02 Thread Dave S
On Monday, April 2, 2018 at 2:24:41 AM UTC-7, Stelios Koroneos wrote: > > Greetings to all. > A small intro before going into the request > > Used web2py 4 years as a web interface to a voip applications and really > liked its features compared to other frameworks. > Haven't used it since and it

[web2py] Re: direct upload in directory

2018-04-02 Thread Diego Tostes
Hi, I already use this: stream = open("/teste_en.pdf", 'rb') db.ensaios.insert(codigo_registro="novo ensaio", en_pdf=stream ) but I need to know if is a possible update a row with an upload. 2018-04-02 14:27 GMT-03:00 Diego Tostes : > > > 2018-04-02 13:22 G

[web2py] Request with login privileges hangs for a specific user account, how to debug it?

2018-04-02 Thread Lisandro
Hi there! I'm having this weird problen and I can't figure out how to debug it, I was hoping you can help me. When a user logs into my application, I set a cookie for the subdomain where the user is logged in and also I make the cookie valid for the main domain. This is working smoothly, we ha

[web2py] Re: Copy table with an upload field from one database to another without disturbing the files.

2018-04-02 Thread Anthony
Why can't you just copy the existing values in the log_file field? Anthony On Monday, April 2, 2018 at 2:35:28 PM UTC-4, James McGlynn wrote: > > Hello, > > I am using web2py on heroku. I have two installed applications using two > different postgres databases. I am trying to copy all the data