aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/templates
diff options
context:
space:
mode:
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 %}