from django.http import HttpResponse, HttpResponseNotFound, Http404, HttpResponseRedirect

def my_post_free_comment(request):
    if request.POST.has_key('url'):
        url = request.POST['url']
    else:
        url = '/comments/posted.html'
    response = post_free_comment(request)
    return HttpResponseRedirect(url)
