mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Replaced 'python -Wall' with 'python -Wa'.
This commit is contained in:
committed by
Tim Graham
parent
2156565b5b
commit
fbb9358149
@@ -128,7 +128,7 @@ be reported, and any test databases created by the run will not be destroyed.
|
||||
.. admonition:: Test with warnings enabled
|
||||
|
||||
It's a good idea to run your tests with Python warnings enabled:
|
||||
``python -Wall manage.py test``. The ``-Wall`` flag tells Python to
|
||||
``python -Wa manage.py test``. The ``-Wa`` flag tells Python to
|
||||
display deprecation warnings. Django, like many other Python libraries,
|
||||
uses these warnings to flag when features are going away. It also might
|
||||
flag areas in your code that aren't strictly wrong but could benefit
|
||||
|
||||
Reference in New Issue
Block a user