mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	Update filtering docs (#6467)
This commit is contained in:
		
							parent
							
								
									d932baa646
								
							
						
					
					
						commit
						286cf57a8d
					
				| 
						 | 
					@ -127,7 +127,7 @@ Note that you can use both an overridden `.get_queryset()` and generic filtering
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        model = Product
 | 
					        model = Product
 | 
				
			||||||
        serializer_class = ProductSerializer
 | 
					        serializer_class = ProductSerializer
 | 
				
			||||||
        filter_class = ProductFilter
 | 
					        filterset_class = ProductFilter
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        def get_queryset(self):
 | 
					        def get_queryset(self):
 | 
				
			||||||
            user = self.request.user
 | 
					            user = self.request.user
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user