1
0
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:
Daniel Chimeno
2018-03-28 19:25:03 +02:00
committed by Tim Graham
parent 2156565b5b
commit fbb9358149
3 changed files with 6 additions and 6 deletions

View File

@@ -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