fix django setting