diff options
| author | Maxime Turcotte <maxime.turcotte@savoirfairelinux.com> | 2014-03-27 16:24:19 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-03-28 18:55:06 -0400 |
| commit | 5e4e0b6fe97c6c9de8355f8738403691637a0b07 (patch) | |
| tree | f71f9982175d42cc72ab1a646bdfb3a2ddeba64b /docs | |
| parent | 12e9adcd71efa36234b697e47fbf59c8117e29a1 (diff) | |
Fixed #22306 -- Deprecated future versions of cycle and firstof template tags.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 | ||||
| -rw-r--r-- | docs/releases/1.8.txt | 9 |
2 files changed, 11 insertions, 1 deletions
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. |
