views.py test coverage 80%
need to clean code