Change type comparisions with isinstance
pep8 compliant forms.py
Small changes in docs