mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 01:47:59 +03:00 
			
		
		
		
	Merge pull request #1329 from estebistec/fix-serializer-from-native-sig
FIX BaseSerializer.from_native has an altered signature
This commit is contained in:
		
						commit
						c3f8c8ffde
					
				| 
						 | 
				
			
			@ -331,7 +331,7 @@ class BaseSerializer(WritableField):
 | 
			
		|||
 | 
			
		||||
        return ret
 | 
			
		||||
 | 
			
		||||
    def from_native(self, data, files):
 | 
			
		||||
    def from_native(self, data, files=None):
 | 
			
		||||
        """
 | 
			
		||||
        Deserialize primitives -> objects.
 | 
			
		||||
        """
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user