I think you may be mistaken. In the first season, Quinn was pregnant, by Puck, another student. The teachers wife was faking pregnancy and wanted to pass off Quinns baby as hers, but I don’t recall an adult knocking up a student.
either way, this show has a lot of anti-family messages.