Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

Commit

Permalink
Stop stomping on the request tempate context processor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Vogel committed Oct 18, 2011
1 parent 2faf7e6 commit dfac0c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contactform/views.py
Expand Up @@ -34,8 +34,7 @@ def form_post(post, ctx):
(sent, error) = send_contact_email(post)
if not sent:
return render_to_response('contactform/sendfail.html',
{'request': post,
'error': error})
{'error': error})

return HttpResponseRedirect(reverse('contactform-sent'))

Expand Down

0 comments on commit dfac0c3

Please sign in to comment.