[web2py] Re: db manipulation

2012-02-23 Thread davidjensen
Migration was not disabled. However, I made a new application duplicating the original db procedures, and I was able to add a field in the field definition in db.py. The new one: db = DAL('sqlite://storage2.db') from gluon.tools import Auth auth = Auth(db) auth.define_tables() db.define_table('in

[web2py] Re: Attaching files stored in blobstore in a mail

2012-02-23 Thread Saurabh S
No, there is no stacktrace in the logs only the warning. Also I have tried passing the stream as payload but I get an error there as well. Its stacktrace is: File "/base/data/home/apps/s~app-id/1.357014326405166801/applications/ abc/controllers/xyz.py:download", line 384, in report_download Fil

Re: [web2py] Re: Grid: Pull field, but not display it, so it can be used by links

2012-02-23 Thread Johann Spies
On 23 February 2012 00:30, naveed wrote: > A slightly related question: In the grid, how can I show values from > referenced tables? > > I have the table: > db.define_table('table1', > Field('field1'), > Field('usr', db.auth_user)) > > How can I show the user's first and last names in the gri

<    1   2