Similar to the other views above, you might want to add the SingleObjectMixin to this view and use `get_queryset` to filter for TaskAttempts that belong to the current user and are finished or abandoned.