this might cause errors to the contents of the post you are calling a method with an old request 
i suggest you try this 
 return HttpResponseRedirect("/showpost?post="+str(post_id))