Yes, is there a way to control how to render builtin python types (int, 
float, NoneType, ...)?

Instead of:
None: a = None renders as "None", render as " "
Integer: b = 1234 render as "1.234"
Float: c = 1234.265 render as "1.234,27"
Boolean d = True render as "ok"
And so on...

We cant change builtins __repr__ methods but is there any view mechanism to 
control that?

It would save so much work if we are allowed to render python types in the 
view as we want without having to wrap all the variables in all the views 
into some kind of function.

Thanks!



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to