class MyForm(form):
text = forms.CharField(label="Введите текст", required=False)
def myview(request):
form = MyForm()
return TemplateResponse(request, 'mytemplate.html, dict(form=form))
<html><body>
<form action="" method="post">
{% csrf_token %}
<table>
{{ form }}
</table>
<input type="submit" value="Submit" />
</form>
</body></html>
def myview(request):
if request.method == 'POST':
form = MyForm(request.POST)
if form.is_valid():
user_text = form.data['text']
# Тут делаем что надо