Loading docs/email.txt +1 −1 Original line number Diff line number Diff line Loading @@ -179,7 +179,7 @@ from the request's POST data, sends that to admin@example.com and redirects to return HttpResponse('Invalid header found.') return HttpResponseRedirect('/contact/thanks/') else: # In reality we'd use a manipulator # In reality we'd use a form class # to get proper validation errors. return HttpResponse('Make sure all fields are entered and valid.') Loading Loading
docs/email.txt +1 −1 Original line number Diff line number Diff line Loading @@ -179,7 +179,7 @@ from the request's POST data, sends that to admin@example.com and redirects to return HttpResponse('Invalid header found.') return HttpResponseRedirect('/contact/thanks/') else: # In reality we'd use a manipulator # In reality we'd use a form class # to get proper validation errors. return HttpResponse('Make sure all fields are entered and valid.') Loading