Skip to content

Commit d8a19f7

Browse files
committed
more sp fixes
1 parent 80d8a1f commit d8a19f7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/api-guide/generic-views.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Note that if your API doesn't include any object level permissions, you may opti
128128

129129
Returns the classes that should be used to filter the queryset. Defaults to returning the `filter_backends` attribute.
130130

131-
May be overridden to provide more complex behavior with filters, such as using different (or even exlusive) lists of filter_backends depending on different criteria.
131+
May be overridden to provide more complex behavior with filters, such as using different (or even exclusive) lists of filter_backends depending on different criteria.
132132

133133
For example:
134134

docs/api-guide/renderers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ An example of a view that uses `TemplateHTMLRenderer`:
110110

111111
class UserDetail(generics.RetrieveAPIView):
112112
"""
113-
A view that returns a templated HTML representations of a given user.
113+
A view that returns a templated HTML representation of a given user.
114114
"""
115115
queryset = User.objects.all()
116116
renderer_classes = (TemplateHTMLRenderer,)

docs/api-guide/serializers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ There are four methods that can be overridden, depending on what functionality y
812812

813813
* `.to_representation()` - Override this to support serialization, for read operations.
814814
* `.to_internal_value()` - Override this to support deserialization, for write operations.
815-
* `.create()` and `.update()` - Overide either or both of these to support saving instances.
815+
* `.create()` and `.update()` - Override either or both of these to support saving instances.
816816

817817
Because this class provides the same interface as the `Serializer` class, you can use it with the existing generic class based views exactly as you would for a regular `Serializer` or `ModelSerializer`.
818818

0 commit comments

Comments
 (0)