diff options
| author | Tom Christie | 2012-10-26 05:22:34 -0700 | 
|---|---|---|
| committer | Tom Christie | 2012-10-26 05:22:34 -0700 | 
| commit | 7cdedc0f71f362895b71c8075d5e853e9685a9f9 (patch) | |
| tree | 360ba91c91577f09f8b7e3f3b24d8e80f689fc46 /docs/api-guide | |
| parent | 365d20652eb7b56c9d1d4b63b52c056f03cab514 (diff) | |
| parent | 67f1265e493adc35239d90aeb3bfeb8492fbd741 (diff) | |
| download | django-rest-framework-7cdedc0f71f362895b71c8075d5e853e9685a9f9.tar.bz2 | |
Merge pull request #321 from tomchristie/pastebin_tutorial
Tweaks and fixes in order to support the pastebin tutorial
Diffstat (limited to 'docs/api-guide')
| -rw-r--r-- | 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 97b4441f..360ef1a2 100644 --- a/docs/api-guide/generic-views.md +++ b/docs/api-guide/generic-views.md @@ -30,7 +30,7 @@ For more complex cases you might also want to override various methods on the vi          serializer_class = UserSerializer          permission_classes = (IsAdminUser,) -        def get_paginate_by(self): +        def get_paginate_by(self, queryset):              """              Use smaller pagination for HTML representations.              """  | 
