§10-7. The district court may direct an allowance to be made to a parent of a child out of its property, for its past or future support and education, on such conditions as may be proper whenever such direction is for its benefit.