'Validates the POST data. If valid, calls done(). Else, redisplays form.'

def post_post(self, request):

    f = self.form(request.POST, auto_id=AUTO_ID)
    if f.is_valid():
        if (self.security_hash(request, f) != request.POST.get(self.unused_name('hash'))):
            return self.failed_hash(request)
        return self.done(request, f.cleaned_data)
    else:
        return render_to_response(self.form_template, {'form': f, 'stage_field': self.unused_name('stage'), 'state': self.state}, context_instance=RequestContext(request))
