<form action="/blog/hello" method="POST"> {% csrf_token %} <input type="submit" value="submit"/> </form> #make sure to remember {%the csrf_token %} otherwise the form with post will not work. That part is not optional