Update views.py

Clean up for better readability.