Your comment about wanting better-educated people to teach is legit. But we have, in America at least, run-down areas with crappy primary schools. Some of those kids will feel a calling to teach. What should we do about that? Find resources to help them get to where they need to be, or tell them they're too dumb?
Which is actually a much larger question - how are teachers graduating from university without being able to do 5th grade math?
So to become a teacher you have to complete either 36 or 72 hours of math education over a single 6 month period, even teaching math in grade 12. That's it. That's less than 2 hours of math per week over 6 months.
More scary is that it DOESN'T mention exams. There seems to be no need to actually remember anything. You have to complete "practicum" which seems to be 2 months of helping out a teacher in a classroom, and "more" in the second year.