Update dashboard/views.py