Changes between Initial Version and Version 1 of Ticket #11496
- Timestamp:
- Jul 17, 2009, 3:15:24 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11496 – Description
initial v1 1 1 I am attempting to use validation in the following modelform: 2 2 3 {{{ 3 4 class BatchForm(ModelForm): 4 5 amount = forms.DecimalField(max_digits=8,decimal_places=2,max_value=599999.99) … … 6 7 model = Batch 7 8 exclude = ('submit_date','user') 9 }}} 8 10 9 11 Sometimes is_valid() returns true and sometimes it returns false with the amount 1212.