This is taken from a similar question.
You can use the warnings modules to raise an error for DeprecationWarning
.
Temporarily add the following snippet to the top of your project's urls.py
:
import warnings
warnings.simplefilter('error', DeprecationWarning)
The DeprecationWarning
will now raise an error, so if debug=True
you'll get the familiar yellow Django error page with the full traceback.