Re: [web2py] web2py show() function. (explanation of a line of code)

2013-12-15 Thread Mirko Scavazzin
0=>first arg cast=int => convert it into int (it is a string actually) IMHO 2013/12/15 deepak sandhu > so this is a function show() which I am trying to understand. in the model > I do have a db.image table where I stored some images which is pointed in > the function. > > the only line I am no

[web2py] web2py show() function. (explanation of a line of code)

2013-12-15 Thread deepak sandhu
so this is a function show() which I am trying to understand. in the model I do have a db.image table where I stored some images which is pointed in the function. the only line I am not understanding here is #image = db.image(request.args(0,cast=int)) In request.args(0, cast=int) why it has