 Đujić finished primary school in 1918 and graduated as the best student in his class.Between 1920 and 1924, he attended lower gymnasium in Knin.After a two-year pause, he began attending the higher gymnasium in Šibenik but did not graduate.