Changes between Initial Version and Version 2 of Ticket #230


Ignore:
Timestamp:
Dec 15, 2005, 11:19:05 PM (19 years ago)
Author:
Adrian Holovaty
Comment:

(Fixed formatting in description.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #230

    • Property MilestoneVersion 1.0
  • Ticket #230 – Description

    initial v2  
    11If I have a FloatField with a particular precision, and I submit a form that has higher precision than I specified when creating the model, it will fail silently. When I say fail silently, and error is raised but no description is passed out of the validator. An example model :
    2 
     2{{{
    33  meta.FloatField('latitude', max_digits=10, decimal_places=7, default=0.0),                                                       
    44  meta.FloatField('longitude',  max_digits=10, decimal_places=7,  default=0.0),
     5}}}
    56
    67And then if I have an input that is either more than 10 digits or 7 decimal places, it will fail.
Back to Top