Merge pull request #2006 from andybak/patch-1

typo fix
This commit is contained in:
Tom Christie 2014-11-01 10:49:37 +00:00
commit 1ef4e6b7a8

View File

@ -323,7 +323,7 @@ Alternatively, specify the field explicitly on the serializer class:
#### Fields for model methods and properties.
With `ModelSerilizer` you can now specify field names in the `fields` option that refer to model methods or properties. For example, suppose you have the following model:
With `ModelSerializer` you can now specify field names in the `fields` option that refer to model methods or properties. For example, suppose you have the following model:
class Invitation(models.Model):
created = models.DateTimeField()