Opened 17 years ago
Closed 17 years ago
#9187 closed (duplicate)
forms.DecimalField validation crashes on "INF"
| Reported by: | epandurski | Owned by: | nobody | 
|---|---|---|---|
| Component: | Forms | Version: | 1.0 | 
| Severity: | Keywords: | decimal, forms | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
The same is true for '-INF', 'INFINITY', 'inf' etc.
Exception is raised in DecimalField's clean() method trying to
obtain abs(), obviously it is assumed that infinite values
have been already filtered.
  Note:
 See   TracTickets
 for help on using tickets.
    
Duplicate of #7777.