diff options
| author | Tom Christie | 2014-02-20 14:55:10 +0000 |
|---|---|---|
| committer | Tom Christie | 2014-02-20 14:55:10 +0000 |
| commit | 33f1cd24cd84cc7e0ec2a76d1d8fed04dd401435 (patch) | |
| tree | 9133e49c5a33b7700d987e94b78055d2b92e2258 /api-guide/generic-views.html | |
| parent | a7dad0da01613595b33793979a45e64e3a7a9ef7 (diff) | |
| download | django-rest-framework-33f1cd24cd84cc7e0ec2a76d1d8fed04dd401435.tar.bz2 | |
Latest docs build
Diffstat (limited to 'api-guide/generic-views.html')
| -rw-r--r-- | api-guide/generic-views.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api-guide/generic-views.html b/api-guide/generic-views.html index 284ecf4e..0e349ca3 100644 --- a/api-guide/generic-views.html +++ b/api-guide/generic-views.html @@ -299,7 +299,7 @@ class UserList(generics.ListCreateAPIView): self.check_object_permissions(self.request, obj) return obj </code></pre> -<p>Note that if your API doesn't include any object level permissions, you may optionally exclude the <code>`self.check_object_permissions, and simply return the object from the</code>get_object_or_404` lookup.</p> +<p>Note that if your API doesn't include any object level permissions, you may optionally exclude the <code>self.check_object_permissions</code>, and simply return the object from the <code>get_object_or_404</code> lookup.</p> <h4 id="get_filter_backendsself"><code>get_filter_backends(self)</code></h4> <p>Returns the classes that should be used to filter the queryset. Defaults to returning the <code>filter_backends</code> attribute.</p> <p>May be override to provide more complex behavior with filters, as using different (or even exlusive) lists of filter_backends depending on different criteria.</p> |
