Changes between Initial Version and Version 1 of Ticket #11496


Ignore:
Timestamp:
Jul 17, 2009, 3:15:24 AM (15 years ago)
Author:
James Bennett
Comment:

(formatting)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11496 – Description

    initial v1  
    11I am attempting to use validation in the following modelform:
    22
     3{{{
    34class BatchForm(ModelForm):
    45    amount = forms.DecimalField(max_digits=8,decimal_places=2,max_value=599999.99)
     
    67        model = Batch
    78        exclude = ('submit_date','user')
     9}}}
    810
    911Sometimes is_valid() returns true and sometimes it returns false with the amount 1212.
Back to Top