aboutsummaryrefslogtreecommitdiffstats
path: root/docs/topics/release-notes.md
diff options
context:
space:
mode:
authorKevin Brown2014-01-02 16:46:57 -0500
committerKevin Brown2014-01-02 16:46:57 -0500
commit0672d6de6e47ba0269a58ad0da3cc7ff4c82908e (patch)
tree428f18deae34527a835f190cebadae7f09fa9c4b /docs/topics/release-notes.md
parent2921455ea729a6dffe969918b46fd735920d17aa (diff)
downloaddjango-rest-framework-0672d6de6e47ba0269a58ad0da3cc7ff4c82908e.tar.bz2
Fix bugfix note
This fixes a bugfix note that was added because of #1293, which pointed out that a change in a bugfix [1] broke backwards compatibility. The bugfix did not work as expected because a variable was quoted when it should not have been. This removes the quotes around the variable, which brings back the expected functionality.
Diffstat (limited to 'docs/topics/release-notes.md')
-rw-r--r--docs/topics/release-notes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/release-notes.md b/docs/topics/release-notes.md
index b09bd0be..ca966d20 100644
--- a/docs/topics/release-notes.md
+++ b/docs/topics/release-notes.md
@@ -98,7 +98,7 @@ You can determine your currently installed version using `pip freeze`:
class DisablePaginationMixin(object):
def get_paginate_by(self, queryset=None):
- if self.request.QUERY_PARAMS['self.paginate_by_param'] == '0':
+ if self.request.QUERY_PARAMS[self.paginate_by_param] == '0':
return None
return super(DisablePaginationMixin, self).get_paginate_by(queryset)