fixes: test for django 1.6

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

This reverts commit 43da78eff73ef0f70fa1b2e4f6ab79d4d92f3535.
deprecates: rendering test
Merge branch 'master' into patch-1