This will raise an Exception if the value is '' or any non-numeric string. You could write a clean method for this field to ensure that the input value is an actual integer.