This is not safe. This will set that setting change for other tests after this test is run. 

The correct way to change settings is either to use `@override_settings()` or a context manager within the test body.