This "direct primary election" was an open primary, in which all candidates from all parties appeared on the same ballot. In this case, both the Democratic and Republican candidates were unopposed within their respective parties, and therefore both were nominated.