Changes between Initial Version and Version 1 of Ticket #11496


Ignore:
Timestamp:
07/17/2009 03:15:24 AM (6 years ago)
Author:
ubernostrum
Comment:

(formatting)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11496

    • Property Needs documentation unset
    • Property Needs tests unset
    • Property Patch needs improvement unset
  • 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