A juvenile male was in custody Tuesday night after a Ponderosa High School student allegedly brought an explosive device to school in their backpack, according to the Douglas County Sheriff’s Office.