From 5e4e0b6fe97c6c9de8355f8738403691637a0b07 Mon Sep 17 00:00:00 2001 From: Maxime Turcotte Date: Thu, 27 Mar 2014 16:24:19 -0400 Subject: Fixed #22306 -- Deprecated future versions of cycle and firstof template tags. --- docs/internals/deprecation.txt | 3 +++ docs/releases/1.8.txt | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 893f44b3cd..e06765742e 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -12,6 +12,9 @@ about each item can often be found in the release notes of two versions prior. 2.0 --- +* ``cycle`` and ``firstof`` template tags will be removed from the ``future`` + template tag library (used during the 1.6/1.7 deprecation period). + .. _deprecation-removed-in-1.9: 1.9 diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 326b58f412..dcf4d59368 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -180,4 +180,11 @@ Miscellaneous Features deprecated in 1.8 ========================== -... +Loading ``cycle`` and ``firstof`` template tags from ``future`` library +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Django 1.6 introduced ``{% load cycle from future %}`` and +``{% load firstof from future %}`` syntax for forward compatibility of the +:ttag:`cycle` and :ttag:`firstof` template tags. This syntax is now deprecated +and will be removed in Django 2.0. You can simply remove the +``{% load ... from future %}`` tags. -- cgit v1.3