Skip to content

more sp fixes #2803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api-guide/generic-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Note that if your API doesn't include any object level permissions, you may opti

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

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.
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.

For example:

Expand Down
2 changes: 1 addition & 1 deletion docs/api-guide/renderers.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ An example of a view that uses `TemplateHTMLRenderer`:

class UserDetail(generics.RetrieveAPIView):
"""
A view that returns a templated HTML representations of a given user.
A view that returns a templated HTML representation of a given user.
"""
queryset = User.objects.all()
renderer_classes = (TemplateHTMLRenderer,)
Expand Down
2 changes: 1 addition & 1 deletion docs/api-guide/serializers.md
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ There are four methods that can be overridden, depending on what functionality y

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

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`.

Expand Down