The horizon.templatetags.sizeformat
ModuleΒΆ
Template tags for displaying sizes
-
horizon.templatetags.sizeformat.
diskgbformat
(gb)[source]
-
horizon.templatetags.sizeformat.
filesizeformat
(bytes, filesize_number_format)[source]
-
horizon.templatetags.sizeformat.
float_cast_filesizeformat
(value, multiplier=1, format=<function int_format>)[source]
-
horizon.templatetags.sizeformat.
float_format
(value)[source]
-
horizon.templatetags.sizeformat.
int_format
(value)[source]
-
horizon.templatetags.sizeformat.
mb_float_format
(mb)[source]
-
horizon.templatetags.sizeformat.
mbformat
(mb)[source]