Commit 73716c8b by Tom Christie

Merge pull request #1200 from yamila-moreno/patch-1

Typo on generic-views.md
parents 4d894fd3 c92af2b1
...@@ -125,7 +125,7 @@ Note that if your API doesn't include any object level permissions, you may opti ...@@ -125,7 +125,7 @@ Note that if your API doesn't include any object level permissions, you may opti
Returns the class that should be used for the serializer. Defaults to returning the `serializer_class` attribute, or dynamically generating a serializer class if the `model` shortcut is being used. Returns the class that should be used for the serializer. Defaults to returning the `serializer_class` attribute, or dynamically generating a serializer class if the `model` shortcut is being used.
May be override to provide dynamic behavior such as using different serializers for read and write operations, or providing different serializers to different types of uesr. May be override to provide dynamic behavior such as using different serializers for read and write operations, or providing different serializers to different types of users.
For example: For example:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment