>
> For interest, what are the functions args_to_int() request_to_int() ?
> Those are your special functions, right?
> Just wondering if that is something new; looks useful.
>
it is just:
def args_to_int(argi):
try:
return mcp.str_to_int(request.args(argi))
except:
return None
return None
just to make it easier to access rows via id in tables where mcp.str_to_int
is another function that makes sure its string argument can be converted to
an integer without excepting. lucas
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.