django/tests/forms_tests
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
..
field_tests [5.1.x] Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:47:15 -03:00
jinja2/forms_tests Fixed #15667 -- Added template-based widget rendering. 2016-12-27 17:50:10 -05:00
templates/forms_tests Fixed #34077 -- Added form field rendering. 2023-03-24 10:16:30 +01:00
templatetags Refs #33134, Refs #34077 -- Adjusted form rendering recursion test. 2023-03-21 15:12:56 +01:00
tests Refs #32819 -- Avoided adding 'aria-describedby' to hidden inputs. 2024-04-30 11:11:02 +02:00
widget_tests Refs #34488 -- Made ClearableFileInput preserve "Clear" checked attribute when form is invalid. 2024-03-14 14:03:14 +01:00
__init__.py
models.py Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
views.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00