blog/views.py
def third(request):
return render(request,'third.html', {'name': request.method})
blog/urls.py
path('', views.index, name='index'),
path('second', views.second, name='index'),
path('hello', views.third, name='index')
blog/template/mypage.html
<form action="/blog/hello" method="POST">
{% csrf_token %}
<input type="submit" value="submit"/>
</form>