mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #22306 -- Deprecated future versions of cycle and firstof template tags.
This commit is contained in:
committed by
Tim Graham
parent
12e9adcd71
commit
5e4e0b6fe9
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user