def METHOD_NAME(request, pk):
    lemmatized_text = get_object_or_404(LemmatizedText, pk=pk, created_by=request.user)
    if request.method == "POST":
        form = LemmatizedTextEditForm(request.POST)
        if form.is_valid():
            # pass to a "lemmatized text method" to handle changes
            lemmatized_text.handle_edited_data(request.POST.get("title"), request.POST.get("text"))
            return redirect("lemmatized_texts_list")
    form = LemmatizedTextEditForm(
        initial={
            "text": lemmatized_text.transform_data_to_html(),
            "title": lemmatized_text.title
        }
    )
    return render(request, "lemmatized_text/edit.html", {"form": form})