HOUSTON (AP) — A Houston high school in Texas had adopted a new dress code that targets parents rather than students.

James Madison High School will turn away parents if they appear to be wearing pajamas, hair rollers or leggings. Bonnets also are banned.

READ MORE: Elk River Teacher's Discussion On Police Violence And Unrest Angers Some Parents

The Houston Chronicle reports that Houston school district policy allows schools to establish standards for student attire and grooming, but no policy exists concerning parents.

READ MORE: 'Unbelievable' Pandemic Furniture Demand Causing Extreme Delivery Delays

Tomiko Miller, the mother of a Madison High student, says the code is discriminatory. Miller says it’s no one’s business if she decides to wear a bonnet to protect her hair when it rains.

Madison High’s dress code was established shortly after KPRC-TV reported that a parent attempting to enroll her child was asked to leave because of her attire, which included a headscarf and a T-shirt dress.

MORE NEWS: Unnecessary Roughness? Former Gophers Claim Tough Practices Ended Football Careers

(© Copyright 2019 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)