diff options
| author | RicterZ | 2014-02-04 23:41:13 +0800 | 
|---|---|---|
| committer | RicterZ | 2014-02-04 23:41:13 +0800 | 
| commit | ba8a0bac538adc8d6897ece14648e03ce7441b24 (patch) | |
| tree | d154cc3038467e307a9e229465f73bd01858248c /docs/api-guide/generic-views.md | |
| parent | b0460a4a58fb193cf6184cc329e95a42c2882d84 (diff) | |
| download | django-rest-framework-ba8a0bac538adc8d6897ece14648e03ce7441b24.tar.bz2 | |
Fixed a bug backticks
fix
    you may optionally exclude the ``self.check_object_permissions, and simply return the object from the `get_object_or_404` lookup.
to
    you may optionally exclude the `self.check_object_permissions`, and simply return the object from the `get_object_or_404` lookup.
Diffstat (limited to 'docs/api-guide/generic-views.md')
| -rwxr-xr-x | docs/api-guide/generic-views.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/api-guide/generic-views.md b/docs/api-guide/generic-views.md index e23b2c74..fb927ea8 100755 --- a/docs/api-guide/generic-views.md +++ b/docs/api-guide/generic-views.md @@ -119,7 +119,7 @@ For example:          self.check_object_permissions(self.request, obj)          return obj -Note that if your API doesn't include any object level permissions, you may optionally exclude the ``self.check_object_permissions, and simply return the object from the `get_object_or_404` lookup. +Note that if your API doesn't include any object level permissions, you may optionally exclude the `self.check_object_permissions`, and simply return the object from the `get_object_or_404` lookup.  #### `get_filter_backends(self)` | 
