From 2266fec99dd10984e31ac4b50b9d6fed1355565b Mon Sep 17 00:00:00 2001 From: mochawich Date: Fri, 13 Mar 2015 17:03:51 +0100 Subject: [PATCH] fixed missing anchor closing tag when next_url is none, big part of page html will be rendered under the as it does not have a closing tag. --- .../templates/rest_framework/pagination/previous_and_next.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 eacbfff45..08c177098 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 %} {% else %} - + {% endif %}