summaryrefslogtreecommitdiff
path: root/tests/modeladmin/tests.py
Commit message (Expand)AuthorAgeFilesLines
* Fixed #22569 -- Made ModelAdmin.lookup_allowed() respect get_list_filter().sarahboyce2023-04-171-7/+89
* Fixed #28384 -- Fixed ModelAdmin.lookup_allowed() for OneToOneField primary k...sarahboyce2023-03-281-0/+29
* Refs #33476 -- Applied Black's 2023 stable style.David Smith2023-02-011-0/+2
* Fixed #11803 -- Allowed admin select widgets to display new related objects.mgaligniana2022-04-151-2/+2
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-171/+240
* Fixed #11715 -- Changed default value of ModelAdmin.actions/inlines to empty ...Jacob Walls2022-01-111-0/+5
* Refs #24121 -- Added __repr__() to AdminSite, DefaultAdminSite, and ModelAdmin.Eduardo Aldair Ahumada Garcia Jurado2021-07-051-0/+7
* Fixed #32003 -- Added obj argument to has_perm() methods in tests.Alexander Todorov2020-09-141-5/+5
* Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette2020-05-151-2/+5
* Refs #27991 -- Made obj a required argument of InlineModelAdmin.has_add_permi...Tim Graham2019-01-171-24/+0
* Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optio...MaximZemskov2019-01-111-0/+24
* Fixed #29901 -- Allowed overriding an autocomplete/raw_id_fields/radio_fields...Javier Matos Odut2018-10-311-0/+22
* Fixed #23869 -- Made ModelAdmin.get_deleted_objects() use has_delete_permissi...Henk Kahlfuß2018-06-151-1/+22
* Refs #29419, #8936 -- Removed change permission requirement for admin actions.Carlton Gibson2018-06-131-13/+1
* Fixed #8936 -- Added a view permission and a read-only admin.olivierdalang2018-05-161-1/+43
* Fixed #27991 -- Added obj arg to InlineModelAdmin.has_add_permission().Jon Dufresne2018-04-041-0/+19
* Fixed #17962 -- Added ModelAdmin.get_deleted_objects().Becky Smith2018-02-241-0/+10
* Fixed imports per isort 4.3.1.Tim Graham2018-02-021-1/+2
* Fixed imports per isort 4.3.0.Mariusz Felisiak2018-02-011-2/+1
* Fixed #28984 -- Made assorted code simplifications.Tim Graham2018-01-031-12/+4
* Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ManyToManyF...Johannes Hoppe2017-09-181-2/+30
* Refs #27804 -- Used subTest() in a modeladmin test.Nick Pope2017-09-031-4/+23
* Added a test for ModelAdmin.__str__().Anton Samarchyan2017-06-191-0/+4
* Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne2017-06-011-1/+1
* Fixed #27356 -- Fixed ModelAdmin.lookup_allowed() for some nested relations.Anton Samarchyan2017-02-071-0/+29
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-4/+4
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-3/+3
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
* Moved modeladmin check tests to a separate file.Tim Graham2016-12-211-1118/+24
* Fixed #27377 -- Clarified that prepopulated_fields doesn't work with OneToOne...Henry Dang2016-12-191-2/+13
* Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham2016-12-071-2/+1
* Fixed E305 flake8 warnings.Ramin Farajpour Cami2016-11-141-0/+1
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-30/+21
* Fixed #24941 -- Added ModelAdmin.get_exclude().Zach Borboa2016-10-071-0/+81
* Refs #27218 -- Fixed LogEntry tests on MySQL 5.5.Tim Graham2016-10-051-3/+3
* Fixed #27218 -- Returned LogEntry instances from ModelAdmin.log_*() methods.François Freitag2016-10-041-0/+10
* Fixed #27256 -- Changed Select widget's selected attribute to use HTML5 boole...Jon Dufresne2016-09-211-2/+2
* Fixed #26816 -- Corrected an admin check to require inlines to subclass Inlin...Berker Peksag2016-08-241-1/+1
* Fixed #26998 -- Reverted some admin checks from checking field.many_to_many b...Collin Anderson2016-08-231-2/+2
* Fixed #19963 -- Added support for date_hierarchy across relations.Vytis Banaitis2016-06-041-3/+20
* Fixed #22383 -- Added support for HTML5 required attribute on required form f...Jon Dufresne2016-04-211-2/+2
* Fixed E128 flake8 warnings in tests/.Tim Graham2016-04-081-97/+62
* Refs #24227 -- Replaced M2M isinstance checks by field.many_to_manyClaude Paroz2016-03-191-5/+5
* Fixed #26229 -- Improved check for model admin check admin.E124Alasdair Nicol2016-03-011-3/+46
* Removed unneeded hint=None/obj=None in system check messages.Tim Graham2016-02-121-10/+12
* Fixed many spelling mistakes in code, comments, and docs.Josh Soref2015-12-031-1/+1
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-6/+9
* Fixed #25374 -- Made ModelAdmin checks work on instances instead of classes.Malcolm Box2015-09-111-3/+6
* Fixed #24908 -- Fixed duplicate readonly field rendering.jpic2015-07-021-0/+31
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-3/+3