title: The view blog.views.contacto didn't return an HttpResponse object
body: <p>I´m working on my first django project. I´ve been trying to create a simple contact form, but I get the error:</p>
  
  <p>ValueError at /blog/contacto/
  The view blog.views.contacto didn't return an HttpResponse object.</p>
  
  <pre><code>def contacto (request):
  if request.method == 'POST': #Si e formulario es enviado...
      form = Formulario(request.POST)
      if form.is_valid(): #Si son validos los datos del formulario
          return HttpResponseRedirect('/blog/gracias') #redireccion a gracias
      else:
          form = Formulario() #un Unbound form
  
      return render(request, 'contacto.html',{'form':form,})
  </code></pre>
  
  <p>I don´t understand why this is happening, I´ve checked the forms documentation in django and the view I´ve done is almost identical to the one in the documentation. </p>
  
  <p>Can anyone help me out?</p>