The second one you said (i.e. altering the default repr for None values). >From a "theoretical" standpoint, a null value is not an empty string. If your app doesn't care for the difference, set a default='' on the interested fields.
Il giorno lunedì 10 giugno 2013 15:42:21 UTC+2, Lamps902 ha scritto: > > If there's a NULL value in my postgresql DB, SQLFORM.grid renders it as > "None". Is it there something that can be done globally for an SQLFORM.grid > that would simply make it display all NULL values as an empty string (i.e. > not display anything in the grid for NULLs), or does that have to be > determined individually for every field by setting the respective field's > *represent *parameter? Thanks. > -- --- 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.

