The governing body of each school district may provide corporal punishment for any pupil that it deems just and proper.