Я хочу, чтобы эта команда request.GET.get ('text', 'default') в python коде ниже просто показывала все, что пользователь вводит в текстовое поле, которое я сделал в файле шаблона. Но когда я что-то вставляю в поле, он просто возвращает значение «по умолчанию», в то время как он должен возвращать все, что я точно поместил в поле для вставки. Файл шаблона создания текстового поля
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Template is working</title>
</head>
<body>
<h1> Welcome to text analyzer. Enter your text below</h1>
<!--{{ name }} is me and im a pro cause im from {{ place }}--> <!-- This access the dictionary made in views-->
<form action='/analyze' method='get'>
<textarea style="margin: 0px; width: 1365px; height: 158px;"> </textarea>
<input type='checkbox', name='removepunc'> Remove Punctuations <br>
<button type='submit'> Analyze Text</button>
</form>
</body>
</html>
Файл шаблона экрана результатов
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Analyzing Your Text...</title>
</head>
<body>
<h1>Your Analyzed Text - {{ purpose }}</h1>
<p>
{{ analyzed_text }}
</p>
</body>
</html>