mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-10-31 16:07:38 +03:00 
			
		
		
		
	Merge pull request #3660 from sloria/patch-1
Fix typo in docstring for ReadOnlyField
This commit is contained in:
		
						commit
						a8deb380ff
					
				|  | @ -1565,7 +1565,7 @@ class ReadOnlyField(Field): | |||
| 
 | ||||
|     For example, the following would call `get_expiry_date()` on the object: | ||||
| 
 | ||||
|     class ExampleSerializer(self): | ||||
|     class ExampleSerializer(Serializer): | ||||
|         expiry_date = ReadOnlyField(source='get_expiry_date') | ||||
|     """ | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user