made the template load faster with select related in dashboard/views.py