changed getting method of django settings