django-bot 
							
						 
					 
					
						
						
							
						
						69a93a88ed 
					 
					
						
						
							
							Refs  #36500  -- Rewrapped long docstrings and block comments via a script.  
						
						... 
						
						
						
						Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505 . 
						
						
					 
					
						2025-07-23 20:17:55 -03:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						1ecf6889ca 
					 
					
						
						
							
							Removed double spaces after periods and within phrases.  
						
						
						
						
					 
					
						2025-07-23 10:09:43 -03:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						6c120508b6 
					 
					
						
						
							
							Refs  #34462  -- Removed ModelAdmin.log_deletion() and LogEntryManager.log_action() per deprecation timeline.  
						
						
						
						
					 
					
						2025-01-15 22:28:37 +01:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						8081557508 
					 
					
						
						
							
							Refs  #22569  -- Made request required in ModelAdmin.lookup_allowed() per deprecation timeline.  
						
						
						
						
					 
					
						2025-01-15 22:28:37 +01:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Devin Cox 
							
						 
					 
					
						
						
							
						
						719a42b589 
					 
					
						
						
							
							Fixed   #34789  -- Prevented updateRelatedSelectsOptions from  
						
						... 
						
						
						
						adding entries to filter_horizontal chosen box.
Co-authored-by: yokeshwaran1 <yokesh440@yahoo.com > 
						
						
					 
					
						2024-06-12 13:09:04 +02:00 
						 
				 
			
				
					
						
							
							
								Hisham Mahmood 
							
						 
					 
					
						
						
							
						
						8db593de05 
					 
					
						
						
							
							Fixed   #35173  -- Fixed ModelAdmin.lookup_allowed() for lookups on foreign keys when not included in ModelAdmin.list_filter.  
						
						... 
						
						
						
						Regression in f80669d2f5 
						
						
					 
					
						2024-02-14 22:29:49 -03:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						a9094ec1f4 
					 
					
						
						
							
							Fixed   #35087  -- Reallowed filtering against foreign keys not listed in ModelAdmin.list_filters.  
						
						... 
						
						
						
						Regression in f80669d2f5 
						
						
					 
					
						2024-01-08 09:21:54 +01:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						f80669d2f5 
					 
					
						
						
							
							Fixed   #35020  -- Fixed ModelAdmin.lookup_allowed() for non-autofield primary keys.  
						
						... 
						
						
						
						Thanks Joshua Goodwin for the report.
Regression in 45ecd9acca 
						
						
					 
					
						2023-12-07 06:16:35 +01:00 
						 
				 
			
				
					
						
							
							
								Akash Kumar Sen 
							
						 
					 
					
						
						
							
						
						40b3975e7d 
					 
					
						
						
							
							Fixed   #34462  -- Made admin log actions in bulk.  
						
						... 
						
						
						
						This also deprecates ModelAdmin.log_deletion() and
LogEntryManager.log_action(). 
						
						
					 
					
						2023-10-31 18:06:44 +01:00 
						 
				 
			
				
					
						
							
							
								Akash Kumar Sen 
							
						 
					 
					
						
						
							
						
						45e0c5892f 
					 
					
						
						
							
							Refs  #34462  -- Moved ModelAdmin.log_deletion() test to a separate test case.  
						
						
						
						
					 
					
						2023-10-31 10:36:23 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						f64fd47a76 
					 
					
						
						
							
							Fixed   #9602  -- Added AdminSite.get_model_admin().  
						
						... 
						
						
						
						This allows retrieving an admin class for the given model class without
using internal attributes. 
						
						
					 
					
						2023-07-07 08:06:01 +02:00 
						 
				 
			
				
					
						
							
							
								sarahboyce 
							
						 
					 
					
						
						
							
						
						594fcc2b74 
					 
					
						
						
							
							Fixed   #22569  -- Made ModelAdmin.lookup_allowed() respect get_list_filter().  
						
						... 
						
						
						
						Thank you Simon Meers for the initial patch. 
						
						
					 
					
						2023-04-17 14:09:38 +02:00 
						 
				 
			
				
					
						
							
							
								sarahboyce 
							
						 
					 
					
						
						
							
						
						45ecd9acca 
					 
					
						
						
							
							Fixed   #28384  -- Fixed ModelAdmin.lookup_allowed() for OneToOneField primary keys and nested relations.  
						
						
						
						
					 
					
						2023-03-28 09:26:39 +02:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						097e3a70c1 
					 
					
						
						
							
							Refs  #33476  -- Applied Black's 2023 stable style.  
						
						... 
						
						
						
						Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.
https://github.com/psf/black/releases/tag/23.1.0  
						
						
					 
					
						2023-02-01 11:04:38 +01:00 
						 
				 
			
				
					
						
							
							
								mgaligniana 
							
						 
					 
					
						
						
							
						
						c72f6f36c1 
					 
					
						
						
							
							Fixed   #11803  -- Allowed admin select widgets to display new related objects.  
						
						... 
						
						
						
						Adjusted admin javascript to add newly created related objects to
already loaded select widgets.
In this version, applies only where limit_choices_to is not set. 
						
						
					 
					
						2022-04-15 07:46:37 +02:00 
						 
				 
			
				
					
						
							
							
								django-bot 
							
						 
					 
					
						
						
							
						
						9c19aff7c7 
					 
					
						
						
							
							Refs  #33476  -- Reformatted code with Black.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						dc9deea8e8 
					 
					
						
						
							
							Fixed   #11715  -- Changed default value of ModelAdmin.actions/inlines to empty tuples.  
						
						... 
						
						
						
						This clarifies the intended pattern of overwriting the default value
rather than mutating it. 
						
						
					 
					
						2022-01-11 12:22:49 +01:00 
						 
				 
			
				
					
						
							
							
								Eduardo Aldair Ahumada Garcia Jurado 
							
						 
					 
					
						
						
							
						
						e4da365436 
					 
					
						
						
							
							Refs  #24121  -- Added __repr__() to AdminSite, DefaultAdminSite, and ModelAdmin.  
						
						... 
						
						
						
						Thanks tlebrize for the initial patch. 
						
						
					 
					
						2021-07-05 08:15:58 +02:00 
						 
				 
			
				
					
						
							
							
								Alexander Todorov 
							
						 
					 
					
						
						
							
						
						5fab16392f 
					 
					
						
						
							
							Fixed   #32003  -- Added obj argument to has_perm() methods in tests.  
						
						
						
						
					 
					
						2020-09-14 12:28:17 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						94f63b926f 
					 
					
						
						
							
							Refs  #31395  -- Relied on setUpTestData() test data isolation in various tests.  
						
						
						
						
					 
					
						2020-05-15 20:22:56 +02:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						6079ed82f4 
					 
					
						
						
							
							Refs  #27991  -- Made obj a required argument of InlineModelAdmin.has_add_permission().  
						
						... 
						
						
						
						Per deprecation timeline. 
						
						
					 
					
						2019-01-17 11:14:07 -05:00 
						 
				 
			
				
					
						
							
							
								MaximZemskov 
							
						 
					 
					
						
						
							
						
						3c01fe30f3 
					 
					
						
						
							
							Fixed   #30097  -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional.  
						
						... 
						
						
						
						Restored backwards compatibility after refs #27991 .
Regression in be6ca89396 
						
						
					 
					
						2019-01-11 18:02:43 -05:00 
						 
				 
			
				
					
						
							
							
								Javier Matos Odut 
							
						 
					 
					
						
						
							
						
						3d4d0a25b2 
					 
					
						
						
							
							Fixed   #29901  -- Allowed overriding an autocomplete/raw_id_fields/radio_fields widget with ModelAdmin.get_formset().  
						
						
						
						
					 
					
						2018-10-31 10:16:17 -04:00 
						 
				 
			
				
					
						
							
							
								Henk Kahlfuß 
							
						 
					 
					
						
						
							
						
						3eb9127678 
					 
					
						
						
							
							Fixed   #23869  -- Made ModelAdmin.get_deleted_objects() use has_delete_permission() for permissions checking.  
						
						
						
						
					 
					
						2018-06-15 10:31:08 -04:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						b30f9b131c 
					 
					
						
						
							
							Refs  #29419 ,  #8936  -- Removed change permission requirement for admin actions.  
						
						... 
						
						
						
						Partially reverted 825f0beda8 
						
						
					 
					
						2018-06-13 14:49:28 -04:00 
						 
				 
			
				
					
						
							
							
								olivierdalang 
							
						 
					 
					
						
						
							
						
						825f0beda8 
					 
					
						
						
							
							Fixed   #8936  -- Added a view permission and a read-only admin.  
						
						... 
						
						
						
						Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz >
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com > 
						
						
					 
					
						2018-05-16 06:44:55 -04:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						be6ca89396 
					 
					
						
						
							
							Fixed   #27991  -- Added obj arg to InlineModelAdmin.has_add_permission().  
						
						... 
						
						
						
						Thanks Vladimir Ivanov for the initial patch. 
						
						
					 
					
						2018-04-04 19:21:50 -04:00 
						 
				 
			
				
					
						
							
							
								Becky Smith 
							
						 
					 
					
						
						
							
						
						8116e588db 
					 
					
						
						
							
							Fixed   #17962  -- Added ModelAdmin.get_deleted_objects().  
						
						
						
						
					 
					
						2018-02-24 20:41:43 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						d0a42a14c0 
					 
					
						
						
							
							Fixed imports per isort 4.3.1.  
						
						... 
						
						
						
						Partially reverted 9bcf73d788 
						
						
					 
					
						2018-02-02 14:44:07 -05:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						9bcf73d788 
					 
					
						
						
							
							Fixed imports per isort 4.3.0.  
						
						
						
						
					 
					
						2018-02-01 09:29:46 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						acc8dd4142 
					 
					
						
						
							
							Fixed   #28984  -- Made assorted code simplifications.  
						
						
						
						
					 
					
						2018-01-03 13:24:02 -05:00 
						 
				 
			
				
					
						
							
							
								Johannes Hoppe 
							
						 
					 
					
						
						
							
						
						94cd8efc50 
					 
					
						
						
							
							Fixed   #14370  -- Allowed using a Select2 widget for ForeignKey and ManyToManyField in the admin.  
						
						... 
						
						
						
						Thanks Florian Apolloner and Tim Graham for review and
contributing to the patch. 
						
						
					 
					
						2017-09-18 13:48:02 -04:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						dea4cfb95b 
					 
					
						
						
							
							Refs  #27804  -- Used subTest() in a modeladmin test.  
						
						
						
						
					 
					
						2017-09-03 21:20:43 -04:00 
						 
				 
			
				
					
						
							
							
								Anton Samarchyan 
							
						 
					 
					
						
						
							
						
						90294cc2ae 
					 
					
						
						
							
							Added a test for ModelAdmin.__str__().  
						
						
						
						
					 
					
						2017-06-19 15:33:21 -04:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						2c69824e5a 
					 
					
						
						
							
							Refs  #23968  -- Removed unnecessary lists, generators, and tuple calls.  
						
						
						
						
					 
					
						2017-06-01 19:08:59 -04:00 
						 
				 
			
				
					
						
							
							
								Anton Samarchyan 
							
						 
					 
					
						
						
							
						
						b27166b769 
					 
					
						
						
							
							Fixed   #27356  -- Fixed ModelAdmin.lookup_allowed() for some nested relations.  
						
						
						
						
					 
					
						2017-02-07 19:33:26 -05:00 
						 
				 
			
				
					
						
							
							
								chillaranand 
							
						 
					 
					
						
						
							
						
						d6eaf7c018 
					 
					
						
						
							
							Refs  #23919  -- Replaced super(ClassName, self) with super().  
						
						
						
						
					 
					
						2017-01-25 12:23:46 -05:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						cecc079168 
					 
					
						
						
							
							Refs  #23919  -- Stopped inheriting from object to define new style classes.  
						
						
						
						
					 
					
						2017-01-19 08:39:46 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						d7b9aaa366 
					 
					
						
						
							
							Refs  #23919  -- Removed encoding preambles and future imports  
						
						
						
						
					 
					
						2017-01-18 09:55:19 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						96271533d2 
					 
					
						
						
							
							Moved modeladmin check tests to a separate file.  
						
						
						
						
					 
					
						2016-12-21 17:23:57 -05:00 
						 
				 
			
				
					
						
							
							
								Henry Dang 
							
						 
					 
					
						
						
							
						
						6af23a4521 
					 
					
						
						
							
							Fixed   #27377  -- Clarified that prepopulated_fields doesn't work with OneToOneField.  
						
						
						
						
					 
					
						2016-12-19 08:33:46 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						b5f0b3478d 
					 
					
						
						
							
							Fixed   #27579  -- Added aliases for Python 3's assertion names in SimpleTestCase.  
						
						
						
						
					 
					
						2016-12-07 17:42:31 -05:00 
						 
				 
			
				
					
						
							
							
								Ramin Farajpour Cami 
							
						 
					 
					
						
						
							
						
						967be82443 
					 
					
						
						
							
							Fixed E305 flake8 warnings.  
						
						
						
						
					 
					
						2016-11-14 12:30:46 -05:00 
						 
				 
			
				
					
						
							
							
								za 
							
						 
					 
					
						
						
							
						
						321e94fa41 
					 
					
						
						
							
							Refs  #27392  -- Removed "Tests that", "Ensures that", etc. from test docstrings.  
						
						
						
						
					 
					
						2016-11-10 21:30:21 -05:00 
						 
				 
			
				
					
						
							
							
								Zach Borboa 
							
						 
					 
					
						
						
							
						
						bf91be83d5 
					 
					
						
						
							
							Fixed   #24941  -- Added ModelAdmin.get_exclude().  
						
						... 
						
						
						
						Thanks Ola Sitarska for the initial patch. 
						
						
					 
					
						2016-10-07 18:49:28 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						e5f5e8ac17 
					 
					
						
						
							
							Refs  #27218  -- Fixed LogEntry tests on MySQL 5.5.  
						
						
						
						
					 
					
						2016-10-05 09:17:26 -04:00 
						 
				 
			
				
					
						
							
							
								François Freitag 
							
						 
					 
					
						
						
							
						
						aa9569fce1 
					 
					
						
						
							
							Fixed   #27218  -- Returned LogEntry instances from ModelAdmin.log_*() methods.  
						
						
						
						
					 
					
						2016-10-04 14:08:53 -04:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						2c716c1dc7 
					 
					
						
						
							
							Fixed   #27256  -- Changed Select widget's selected attribute to use HTML5 boolean syntax.  
						
						
						
						
					 
					
						2016-09-21 15:12:13 -07:00 
						 
				 
			
				
					
						
							
							
								Berker Peksag 
							
						 
					 
					
						
						
							
						
						426bca002c 
					 
					
						
						
							
							Fixed   #26816  -- Corrected an admin check to require inlines to subclass InlineModelAdmin.  
						
						
						
						
					 
					
						2016-08-24 17:34:32 -04:00