GUSTINE, Texas -- A North Texas school district is investigating after about two dozen elementary students had to pull their pants down when feces were found on a gym floor.

A parent says the children in Gustine were forced to expose their underwear for inspection.

Maria Medina told WFAA-TV that boys were taken to one room and girls to another on Monday. Medina says she was furious after learning students were told to lower their pants so school workers could try to find the culprit behind the waste.

Get Breaking News Delivered to Your Inbox

Superintendent Ken Baugh says he does not condone the search and that partially strip-searching students went too far. He says the district is investigating.

Gustine, with a population of about 460, is located 90 miles southwest of Fort Worth.