mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +03:00
typo fix
This commit is contained in:
parent
6da3813a17
commit
964b3401fb
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user