tickets: 8290
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8290 | 2008-08-13 18:34:58 | 2011-09-28 16:12:17 | 2022-03-06 03:41:51.759604 | Accepted | closed | Validators | dev | fixed | DecimalField does not handle validation of large decimal_places | If decimal_places is set to 2, and a number like 0.0000000001 tries to get validated, it passes when it should fail. If you make a form and look at the cleaned data for a DecimalField, you will see that a number like .0000001 looks something like the notation 1E-8, of the decimal.Decimal type. | gwilson | jb0t | DecimalField, decimal_places, validation | 0 | 0 | 0 | 0 | 0 | 0 |