From 9cab078fedd5bd4219e6819efc5d92eed310ea39 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Fri, 5 Jun 2015 14:53:07 +0800 Subject: patchwork/templates: Suppress cycle template tag warning Running on django 1.7 gives a warning: RemovedInDjango18Warning: 'The `cycle` template tag is changing to escape its arguments; the non-autoescaping version is deprecated. Load it from the `future` tag library to start using the new behavior. Although this change doesn't affect this template, suppress the warning by loading from the future library. Signed-off-by: Jeremy Kerr --- patchwork/templates/patchwork/patch-list.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patchwork/templates/patchwork/patch-list.html b/patchwork/templates/patchwork/patch-list.html index 718949e..4b3cb23 100644 --- a/patchwork/templates/patchwork/patch-list.html +++ b/patchwork/templates/patchwork/patch-list.html @@ -3,6 +3,8 @@ {% load patch %} {% load static %} +{% load cycle from future %} + {% include "patchwork/pagination.html" %} -- cgit v1.2.3