#21959: widthratio templatetag fails to handle NaN ratio
---------------------------------+--------------------
     Reporter:  rmoe             |      Owner:
         Type:  Bug              |     Status:  new
    Component:  Template system  |    Version:  master
     Severity:  Normal           |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  1
Easy pickings:  0                |      UI/UX:  0
---------------------------------+--------------------
 When value or max_value are float('inf') or float('nan') the ratio
 calculation can raise an exception.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21959>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.7854eaec1b9f5280dc742ae746a1f723%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to