[web2py] Re: Using ROWID function as id field in sqlite tables

2017-02-20 Thread Sundar
Thanks Leonel. It was my mistake. It works now. On Monday, July 15, 2013 at 4:35:03 AM UTC+5:30, Woody wrote: > > This may be something that is known by people with more experience than > me, but it took me a lot of experimenting to figure it out, so I thought I > would post it here so others wi

[web2py] MySQL / Web2py datetime issue

2017-02-20 Thread Chris Dodson
I have a manually built the MySQL table and then use migrate=False in Web2py. I can enter hours use the add_to_table function passing in the table_name, the work_date_start and work_date_end show up in this form as the datetime picker. I can choose from this and add the info into the table, a

[web2py] Re: SQLFORM.grid field.represent not working with joined tables

2017-02-20 Thread Paul Ellis
I still don't know what caused this. There was obviously something missing in the grid. I have come back to the problem after working around it with js and can't replicate the issue. It is now working. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.co

[web2py] Re: ImportError: No module named

2017-02-20 Thread Daniel Dos Santos Guilhermino
Perfect!! Fix it! Many thanks for your prompt help! Em segunda-feira, 20 de fevereiro de 2017 14:51:44 UTC-3, Leonel Câmara escreveu: > > I think your application name is confusing the custom_importer because > your application is called xml and you are trying to import xml in > extrairp

[web2py] Re: ImportError: No module named

2017-02-20 Thread Leonel Câmara
I think your application name is confusing the custom_importer because your application is called xml and you are trying to import xml in extrairprodutos, which is possibly a bug. Does it work if you change the name of the application to produtosxml? -- Resources: - http://web2py.com - http://

[web2py] ImportError: No module named

2017-02-20 Thread Daniel Dos Santos Guilhermino
Hello Everybody, I have a little problem with my application... I searched on the forum, but I don't see any solution... Follow the error: Traceback (most recent call last): File "C:\web2py\gluon\restricted.py", line 227, in restricted exec ccode in environment File "C:\web2py\applicati

[web2py] SQLFORM: how to show image thumbnail

2017-02-20 Thread Najtsirk
Hi, i have the following problem. *Model:* db.define_table('person', Field('name', 'string', label='Name'), Field('image','upload', label='Image', autodelete=True, uploadfolder=os.path.join(request.folder, 'uploads/persons')) *Controller:* def person(): form = SQLFORM(db.person, r