set django settings in raven hook