Fix import of django settings