Commits

David Chambers committed 3073e14

Reinstated the code removed in #186 – it _does_ do something!

Comments (0)

Files changed (1)

 
     return HttpResponse(value)
 
-def contact(request):
+def contact(request, message_sent=False):
+    if message_sent:
+        return render_to_response('contact.dhtml', context_defaults(request))
+
     if request.method == 'POST':
         form = ContactForm(request.POST)
         if form.is_valid():