Adding the dao_factory setting to the django settings