In case of IntegerField and FloatField, there is a possibility of users entering a space in the textbox. int() and float() can handle strings like '  4 ' and '  3.4 '. Whereas string like - '  ' throw an exception. Currently such strings also escape the EMPTY_VALUE check (None, '', [], (), {}). This patch strips the value before we check for emptiness.