擅长:python、mysql、java
<p>默认情况下,Django test设置DEBUG=False</p>
<p><a href="https://docs.djangoproject.com/en/1.9/topics/testing/overview/#other-test-conditions" rel="nofollow">https://docs.djangoproject.com/en/1.9/topics/testing/overview/#other-test-conditions</a></p>