Fixed Django 1.5 compatibility. NumberInput is new in 1.6, so we just attempt to import it.