Avoid Django to raise warnings for test runners.