Cleanins views.py