From: Jeremy Kerr Date: Fri, 5 Jun 2015 06:53:07 +0000 (+0800) Subject: patchwork/templates: Suppress cycle template tag warning X-Git-Url: https://git.ozlabs.org/?p=patchwork;a=commitdiff_plain;h=9cab078fedd5bd4219e6819efc5d92eed310ea39 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 --- 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" %}