fix django states & add pillar data