Opened 9 years ago
Closed 8 years ago
#28164 closed Cleanup/optimization (fixed)
Properly convert floats in DecimalField.to_python
| Reported by: | Claude Paroz | Owned by: | nobody | 
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev | 
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
Referring to this discussion, I think a first step would be to properly convert float values in DecimalField.to_python. I'm aware that a further step will be custom contexts (#26459).
Change History (5)
comment:1 by , 9 years ago
| Has patch: | set | 
|---|
comment:2 by , 9 years ago
| Patch needs improvement: | set | 
|---|---|
| Triage Stage: | Unreviewed → Accepted | 
comment:3 by , 9 years ago
| Patch needs improvement: | unset | 
|---|
comment:4 by , 8 years ago
| Triage Stage: | Accepted → Ready for checkin | 
|---|
  Note:
 See   TracTickets
 for help on using tickets.
    
PR