def METHOD_NAME(request, pk):
    user = get_object_or_404(User, pk=pk)
    if not request.user.is_staff:
        raise Http404
    try:
        return redirect(user.speaker_profile)
    except ObjectDoesNotExist:
        pass
    if request.method == "POST":
        form = SpeakerForm(request.POST, request.FILES)
        if form.is_valid():
            speaker = form.save(commit=False)
            speaker.user = user
            speaker.save()
            messages.success(request, _("Speaker profile created."))
            return redirect("user_list")
    else:
        form = SpeakerForm(initial={"name": user.get_full_name()})
    return render(
        request,
        "symposion/speakers/speaker_create.html",
        {"speaker_form": form},
    )