Django 1.5 compatibility fix

This PR fixes the NumberInput for Django 1.5. I've also bumped the version.