Fixed some PEP8 violations in views and models.