mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #27099 -- Documented list filter's has_output() method.
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							3f2c945257
						
					
				
				
					commit
					bd3dc670b5
				
			| @@ -969,6 +969,9 @@ subclass:: | ||||
|         The ``FieldListFilter`` API is considered internal and might be | ||||
|         changed. | ||||
|  | ||||
|     List filter's typically appear only if the filter has more than one choice. | ||||
|     A filter's ``has_output()`` method controls whether or not it appears. | ||||
|  | ||||
|     It is possible to specify a custom template for rendering a list filter:: | ||||
|  | ||||
|         class FilterWithCustomTemplate(admin.SimpleListFilter): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user