Changes between Initial Version and Version 2 of Ticket #11998
- Timestamp:
- Oct 8, 2009, 11:14:19 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11998 – Description
initial v2 1 1 Let be this small model : 2 2 {{{ 3 3 class IntegerOverflowTest(models.Model): 4 4 someint = models.IntegerField() 5 5 }}} 6 6 For mysql, maximum values for signed integer is 2147483647 [1] 7 7 8 8 In admin interface, defining a value more than the maximum raises this exception : 9 9 {{{ 10 10 Warning : Out of range value for column 'someint' at row 1 11 11 }}} 12 12 I would have expected that the form to be validated and prompt the error gracefully. 13 13