fix pep8 in models
fix pep8 in views