diff options
| author | Tom Christie | 2015-01-15 16:52:07 +0000 | 
|---|---|---|
| committer | Tom Christie | 2015-01-15 16:52:07 +0000 | 
| commit | d76e83dd78627a0cf4bcd4b28a7710fb678d8d4e (patch) | |
| tree | eb17b5a60fb64a97b70d3aa268a3f97c6b542227 /rest_framework/templates | |
| parent | 313aa727e3c44016e531a7af75051fc6e6d7cb96 (diff) | |
| download | django-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.html | 4 | 
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 %} | 
