def METHOD_NAME(request, pk):
    """
    Show the workout with the given ID
    """
    workout = get_object_or_404(Workout, pk=pk)
    user = workout.user
    is_owner = request.user == user
    if not is_owner and not user.userprofile.ro_access:
        return HttpResponseForbidden()
    uid, token = make_token(user)
    context = {
        'workout': workout,
        'uid': uid,
        'token': token,
        'is_owner': is_owner,
        'owner_user': user,
        'show_shariff': is_owner,
    }
    return render(request, 'workout/view.html', context)