1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/admin_utils
Simon Charette 57307bbc7d 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.
2024-08-28 11:44:05 -03:00
..
__init__.py Renamed tests for util -> utils moves; refs #17627. 2014-12-31 11:26:27 -05:00
admin.py Fixed #34303 –- Allowed customizing admin site log entry list. 2023-02-08 18:37:32 +01:00
models.py Fixed #34462 -- Made admin log actions in bulk. 2023-10-31 18:06:44 +01:00
test_logentry.py Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test suite accordingly. 2024-08-28 11:44:05 -03:00
tests.py Fixed #10743 -- Allowed lookups for related fields in ModelAdmin.list_display. 2024-02-05 21:42:04 -03:00
urls.py Fixed #34303 –- Allowed customizing admin site log entry list. 2023-02-08 18:37:32 +01:00