mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 01:47:59 +03:00 
			
		
		
		
	Merge pull request #5914 from encode/xordoquy/fix_release_notes
release_notes: fix call to super().data
This commit is contained in:
		
						commit
						3365ec23ec
					
				| 
						 | 
				
			
			@ -74,7 +74,7 @@ You can determine your currently installed version using `pip show`:
 | 
			
		|||
            """
 | 
			
		||||
            Drop `maybe_none` field if None.
 | 
			
		||||
            """
 | 
			
		||||
            data = super().data()
 | 
			
		||||
            data = super().data
 | 
			
		||||
            if 'maybe_none' in data and data['maybe_none'] is None:
 | 
			
		||||
                del data['maybe_none']
 | 
			
		||||
            return data
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user