• Dan McGee's avatar
    Stop using Django-provided floatformat template tag · 9adc2e53
    Dan McGee authored
    It turns out this is a HUGE part of our slow mirror status template
    rendering, due to the internal workings. Everything is converted to a
    Python decimal object which is way slower than just staying in native
    floating point. Given we are always dealing with floats when we need to
    do our formatting, a home-rolled template tag can accomplish this much
    Signed-off-by: default avatarDan McGee <dan@archlinux.org>