Elections Code § 6240
ARTICLE 13. Write-in Candidates
Notwithstanding any other provision of law, a space shall be provided on the presidential primary ballot for a voter to write in the name of a candidate for nomination by the Democratic Party for President of the United States.