`TaskAttempt` is not in `users.models` it's in `tasks.models`. I believe this import is working because `users.models` does import it from `tasks.models`, but I think we should be importing it into the view from the correct location.