If anyone wants to try this, apart from checking out the code you only need to change the language code in local_settings.py - I think it will only affect the interface display.
@edmcdonagh , it looks fine, except that None values are not handled correctly (resulting in runtime errors).
I think the first lines of sigdig should be:
(I only tested the interface, no rdsr-import tested)
Thanks Luuk - I have modified it to not return anything if None, which (locally) sorts out the test failure, hopefully the pipeline too.
Can you test again please?
Hi Ed, It is working fine now.
Just to nitpick, it seems "floatformat" returns an empty string if the value is None. So the columns using floatformat don't show a value and the columns using sigdig show ‘None’ (see last 2 colums in screenshot below):
To make behaviour consistent, an empty string should be returned if value is None (already tested and it works). Up to you if you want to implement that!
I’m happy with this now @LuukO now that sigdigreturns '' if None is passed. Have you been able to check it?