mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Replaced 'python -Wall' with 'python -Wa'.
This commit is contained in:
parent
2156565b5b
commit
fbb9358149
3 changed files with 6 additions and 6 deletions
|
@ -175,7 +175,7 @@ the first release of Django that deprecates a feature (``A.B``) should raise a
|
|||
will be removed) when the deprecated feature is invoked. Assuming we have good
|
||||
test coverage, these warnings are converted to errors when :ref:`running the
|
||||
test suite <running-unit-tests>` with warnings enabled:
|
||||
``python -Wall runtests.py``. Thus, when adding a ``RemovedInDjangoXXWarning``
|
||||
``python -Wa runtests.py``. Thus, when adding a ``RemovedInDjangoXXWarning``
|
||||
you need to eliminate or silence any warnings generated when running the tests.
|
||||
|
||||
The first step is to remove any use of the deprecated behavior by Django itself.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue