The new web2py (n trunk) has
request.args(0,default=0,cast=int)
On Saturday, 12 May 2012 13:27:07 UTC-5, Najtsirk wrote:
>
> I'm not too good at this stuff...but i think i had similar problem.
>
> In my controller I set the default value for the crud.create reference
> field:
>
> db.table.refere
I'm not too good at this stuff...but i think i had similar problem.
In my controller I set the default value for the crud.create reference
field:
db.table.referenceid.default = request.args(0)
form=crud.create(db.table)
I solved the problem with:
db.table.referenceid.default = *int*(reque
I have created Issue
777: http://code.google.com/p/web2py/issues/detail?id=777
On Friday, April 27, 2012 9:15:07 AM UTC-4, Massimo Di Pierro wrote:
>
> Please open a ticket about this.
>
> On Thursday, 26 April 2012 13:21:34 UTC-5, villas wrote:
>>
>> Just a thought... if you are trying to creat
Please open a ticket about this.
On Thursday, 26 April 2012 13:21:34 UTC-5, villas wrote:
>
> Just a thought... if you are trying to create a new table which has a
> 'bigint' id, this may be incompatible if it references an existing table
> which has an 'integer' id.
>
> Regards,
> David
>
Just a thought... if you are trying to create a new table which has a
'bigint' id, this may be incompatible if it references an existing table
which has an 'integer' id.
Regards,
David
I'm having a similar issue using SQLFORM. I am using a table that stores
extra data for users, and I call it auth_user_extended:
db.define_table('auth_user_extended',
Field('auth_user', db.auth_user, readable=False, writable=False),
Field('supervisor', 'boolean', label='Is Supervisor?', d
Please open a bug report this on googlecode.
On Thursday, 5 April 2012 03:38:38 UTC-5, Sundar wrote:
>
> I migrated an application running in 1.94.6 to 1.99.7.
>
> I have a peculiar problem. Crud.create on normal tables work. But whenever
> I apply crud.create on children table (that is there is
7 matches
Mail list logo