mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 01:47:59 +03:00 
			
		
		
		
	
						commit
						be175ae8a7
					
				| 
						 | 
					@ -212,7 +212,7 @@ class GenericAPIView(views.APIView):
 | 
				
			||||||
        You may want to override this if you need to provide different
 | 
					        You may want to override this if you need to provide different
 | 
				
			||||||
        serializations depending on the incoming request.
 | 
					        serializations depending on the incoming request.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        (Eg. admins get full serialization, others get basic serilization)
 | 
					        (Eg. admins get full serialization, others get basic serialization)
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        serializer_class = self.serializer_class
 | 
					        serializer_class = self.serializer_class
 | 
				
			||||||
        if serializer_class is not None:
 | 
					        if serializer_class is not None:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user