Hi,
I keep numeric fields like "size", "width", "height" in my database.
In the admin, I want to render them in a friendly format and attach
units like "KiB" or "pixels" to them when showing them in the change
list. I know this could easily be achieved by adding callables such as
"size_formatted"
Chris: Sure, there's that possibility – however, I think it would be
very bad practise to insert a redundant field like this, just for
formatting matters. Also, one might want the option of using localised
units, etc.
Shawn: Of course you are generally correct and I know that the core
developers k
2 matches
Mail list logo