Right. Instead of passing in the language as a kwarg, your function reads the language to delete as a post parameter. So you should use that in here.