aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/templates
diff options
context:
space:
mode:
authorTom Christie2015-01-15 16:52:07 +0000
committerTom Christie2015-01-15 16:52:07 +0000
commitd76e83dd78627a0cf4bcd4b28a7710fb678d8d4e (patch)
treeeb17b5a60fb64a97b70d3aa268a3f97c6b542227 /rest_framework/templates
parent313aa727e3c44016e531a7af75051fc6e6d7cb96 (diff)
downloaddjango-rest-framework-d76e83dd78627a0cf4bcd4b28a7710fb678d8d4e.tar.bz2
Tweaks, and add pagination controls for offset/limit.
Diffstat (limited to 'rest_framework/templates')
-rw-r--r--rest_framework/templates/rest_framework/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html
index e0030981..877387f2 100644
--- a/rest_framework/templates/rest_framework/base.html
+++ b/rest_framework/templates/rest_framework/base.html
@@ -125,9 +125,9 @@
{% endblock %}
</div>
- {% if pager.mark_as_used %}
+ {% if paginator %}
<nav style="float: right">
- {% get_pagination_html pager %}
+ {% get_pagination_html paginator %}
</nav>
{% endif %}