aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/templates
diff options
context:
space:
mode:
authormochawich2015-03-13 17:03:51 +0100
committermochawich2015-03-13 17:03:51 +0100
commit2266fec99dd10984e31ac4b50b9d6fed1355565b (patch)
treea3dbeabf8b3a270be9c5854b2dd4a08ee4d4700e /rest_framework/templates
parentcc64e30f55b04469f0eb93d0c1a7a687e9bb8c82 (diff)
downloaddjango-rest-framework-2266fec99dd10984e31ac4b50b9d6fed1355565b.tar.bz2
fixed missing anchor closing tag
when next_url is none, big part of page html will be rendered under the <a href='#'> as it does not have a closing tag.
Diffstat (limited to 'rest_framework/templates')
-rw-r--r--rest_framework/templates/rest_framework/pagination/previous_and_next.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/templates/rest_framework/pagination/previous_and_next.html b/rest_framework/templates/rest_framework/pagination/previous_and_next.html
index eacbfff4..08c17709 100644
--- a/rest_framework/templates/rest_framework/pagination/previous_and_next.html
+++ b/rest_framework/templates/rest_framework/pagination/previous_and_next.html
@@ -7,6 +7,6 @@
{% if next_url %}
<li class="next"><a href="{{ next_url }}">Next &raquo;</a></li>
{% else %}
- <li class="next disabled"><a href="#">Next &raquo;</li>
+ <li class="next disabled"><a href="#">Next &raquo;</a></li>
{% endif %}
</ul>