aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTom Christie2014-01-03 13:27:00 +0000
committerTom Christie2014-01-03 13:27:00 +0000
commit399e4d9b0879288130ae2d04634802c53e5423fe (patch)
treeb8fcb60a7ba15a5e78a6170c98c4662def794d5e /docs
parent3050f0e82a60a12dc35ef7947c2f47de12387919 (diff)
parent442916b9649baaf305ff094fe05f026ad04c7818 (diff)
downloaddjango-rest-framework-399e4d9b0879288130ae2d04634802c53e5423fe.tar.bz2
Merge branch 'master' into logo
Diffstat (limited to 'docs')
-rw-r--r--docs/template.html27
-rw-r--r--docs/topics/release-notes.md2
2 files changed, 5 insertions, 24 deletions
diff --git a/docs/template.html b/docs/template.html
index c065237a..a397d067 100644
--- a/docs/template.html
+++ b/docs/template.html
@@ -170,31 +170,12 @@
<ul class="nav nav-list side-nav well sidebar-nav-fixed">
{{ toc }}
<div>
- <hr>
-
-<p><strong>The team behind REST framework is launching a new API service.</strong></p>
-
-<p>If you want to be first in line when we start issuing invitations, please sign up here:</p>
-
-<!-- Begin MailChimp Signup Form -->
-<link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css">
-<style type="text/css">
- #mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
- /* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
- We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
-</style>
-<div id="mc_embed_signup" style="background: rgb(245, 245, 245)">
-<form action="http://dabapps.us1.list-manage1.com/subscribe/post?u=cf73a9994eb5b8d8d461b5dfb&amp;id=cb6af8e8bd" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
-<!-- <label for="mce-EMAIL">Keep me posted!</label>
- --> <input style="width: 90%" type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
- <div class="clear"><input class="btn btn-success" type="submit" value="Yes, keep me posted!" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
-</form>
-</div>
-</style></div>
- </ul>
+{{ ad_block }}
+
+</div>
+</ul>
-<!--End mc_embed_signup-->
</div>
</div>
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)