Opened 18 years ago
Closed 18 years ago
#4004 closed (duplicate)
Need a newforms.FloatField field
Reported by: | Owned by: | anonymous | |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Newforms contains IntegerField for handling sharp numbers, but do not have FloatField for handling all other numbers.
If this bug is accepted I write a patch.
Attachments (2)
Change History (7)
comment:1 by , 18 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 18 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:5 by , 18 years ago
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Closign in favour of #2365.
Note:
See TracTickets
for help on using tickets.
Patch seems a bit complicated, but it supports
max_digits
anddecimal_places
parameters (similar todjango.db.models.FloatField
)Error messages might be improved.
The patch contains test suite too.