fixes: test for django 1.6

Django 1.6 returns a input type number by default. If localize=True it
returns type text.