change views.py with shortcut