summaryrefslogtreecommitdiff
path: root/tests/modeladmin/tests.py
AgeCommit message (Expand)Author
7 daysReverted inadvertent changes to PK formatting in tests.Tim Graham
9 daysFixed #35870 -- Made blank choice label in forms more accessible.Annabelle Wiegart
2026-04-03Refs #36949 -- Removed hardcoded pks in modeladmin tests.Tim Graham
2026-04-02Fixed #36949 -- Improved RelatedFieldWidgetWrapper <label>s.David Smith
2026-02-10Modified tests to format PKs with %s rather than %d.Tim Graham
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-07-23Removed double spaces after periods and within phrases.Sarah Boyce
2025-01-15Refs #34462 -- Removed ModelAdmin.log_deletion() and LogEntryManager.log_acti...Sarah Boyce
2025-01-15Refs #22569 -- Made request required in ModelAdmin.lookup_allowed() per depre...Sarah Boyce
2024-08-28Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test su...Simon Charette
2024-06-12Fixed #34789 -- Prevented updateRelatedSelectsOptions fromDevin Cox
2024-02-14Fixed #35173 -- Fixed ModelAdmin.lookup_allowed() for lookups on foreign keys...Hisham Mahmood
2024-01-08Fixed #35087 -- Reallowed filtering against foreign keys not listed in ModelA...Sarah Boyce
2023-12-07Fixed #35020 -- Fixed ModelAdmin.lookup_allowed() for non-autofield primary k...Sarah Boyce
2023-10-31Fixed #34462 -- Made admin log actions in bulk.Akash Kumar Sen
2023-10-31Refs #34462 -- Moved ModelAdmin.log_deletion() test to a separate test case.Akash Kumar Sen
2023-07-07Fixed #9602 -- Added AdminSite.get_model_admin().Mariusz Felisiak
2023-04-17Fixed #22569 -- Made ModelAdmin.lookup_allowed() respect get_list_filter().sarahboyce
2023-03-28Fixed #28384 -- Fixed ModelAdmin.lookup_allowed() for OneToOneField primary k...sarahboyce
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-04-15Fixed #11803 -- Allowed admin select widgets to display new related objects.mgaligniana
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-11Fixed #11715 -- Changed default value of ModelAdmin.actions/inlines to empty ...Jacob Walls
2021-07-05Refs #24121 -- Added __repr__() to AdminSite, DefaultAdminSite, and ModelAdmin.Eduardo Aldair Ahumada Garcia Jurado
2020-09-14Fixed #32003 -- Added obj argument to has_perm() methods in tests.Alexander Todorov
2020-05-15Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette
2019-01-17Refs #27991 -- Made obj a required argument of InlineModelAdmin.has_add_permi...Tim Graham
2019-01-11Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optio...MaximZemskov
2018-10-31Fixed #29901 -- Allowed overriding an autocomplete/raw_id_fields/radio_fields...Javier Matos Odut
2018-06-15Fixed #23869 -- Made ModelAdmin.get_deleted_objects() use has_delete_permissi...Henk Kahlfuß
2018-06-13Refs #29419, #8936 -- Removed change permission requirement for admin actions.Carlton Gibson
2018-05-16Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang
2018-04-04Fixed #27991 -- Added obj arg to InlineModelAdmin.has_add_permission().Jon Dufresne
2018-02-24Fixed #17962 -- Added ModelAdmin.get_deleted_objects().Becky Smith
2018-02-02Fixed imports per isort 4.3.1.Tim Graham
2018-02-01Fixed imports per isort 4.3.0.Mariusz Felisiak
2018-01-03Fixed #28984 -- Made assorted code simplifications.Tim Graham
2017-09-18Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ManyToManyF...Johannes Hoppe
2017-09-03Refs #27804 -- Used subTest() in a modeladmin test.Nick Pope
2017-06-19Added a test for ModelAdmin.__str__().Anton Samarchyan
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-02-07Fixed #27356 -- Fixed ModelAdmin.lookup_allowed() for some nested relations.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-12-21Moved modeladmin check tests to a separate file.Tim Graham
2016-12-19Fixed #27377 -- Clarified that prepopulated_fields doesn't work with OneToOne...Henry Dang
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za