mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 01:47:59 +03:00 
			
		
		
		
	fix flake8 warnings
This commit is contained in:
		
							parent
							
								
									7d8c95141c
								
							
						
					
					
						commit
						fad0848b7c
					
				| 
						 | 
				
			
			@ -997,7 +997,7 @@ class ModelSerializer(Serializer):
 | 
			
		|||
            if isinstance(field, GenericForeignKey):
 | 
			
		||||
                continue
 | 
			
		||||
            if field.name in attrs:
 | 
			
		||||
                 m2m_data[field.name] = attrs.pop(field.name)
 | 
			
		||||
                m2m_data[field.name] = attrs.pop(field.name)
 | 
			
		||||
 | 
			
		||||
        # Nested forward relations - These need to be marked so we can save
 | 
			
		||||
        # them before saving the parent model instance.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user