django/docs/internals/contributing/writing-code
Simon Charette 9a461cae3e [5.1.x] Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test suite accordingly.
Over the years we've had multiple instances of hit and misses when
emitting warnings: either setting the wrong stacklevel or not setting
it at all.

This work adds assertions for the existing warnings that were declaring
the correct stacklevel, but were lacking tests for it.

Backport of 57307bbc7d from main.
2024-08-28 11:47:15 -03:00
..
coding-style.txt [5.1.x] Used :pypi: role in docs where appropriate. 2024-08-05 10:36:41 -03:00
index.txt Reorganized the Contributing to Django docs. 2024-01-11 22:25:27 -03:00
javascript.txt Reorganized the Contributing to Django docs. 2024-01-11 22:25:27 -03:00
submitting-patches.txt [5.1.x] Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:47:15 -03:00
unit-tests.txt [5.1.x] Updated asgiref dependency for 5.1 release series. 2024-07-24 08:25:45 +02:00
working-with-git.txt Refs #34140 -- Applied rst code-block to non-Python examples. 2023-02-10 19:19:13 +01:00