-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJUVa1yAAoJEC0ft5FqUuEhkK0P/0kR9M3+diU9cFknNVdm8j6c
tkzHzOLQUswsis7VhfltP8xuktnFX0sdDtAIaCP9wZaGO7U7DpQOmdVIoj7qW7C8
4xlJyeQRfu0drnHX2lCuY1iM9yhkOIPWcbRkuyr3EWE/zb+7Wn85VaOSiqAlsVzo
rqJAtXrX1ilOpy1MBxZwdaG909FS0zwXuO2FWxD+SiA1sV3m+KR9+v5b+oyeHSJS
0uDTax8GvV3jniKYydyiC+Z4qB+RJDeWfCXMFUwFUHJ3DB8fnGTjGaK9Z2TFcVHO
OyQ9KOHEJ5ovSWB7SQDWpNXKn1/iAfjye+PnzBMtkypxAqwsJAATXrJq+/oeBu7O
dYK6DIoZABp5Dkx1KqdMB+FAnRV8mH2tJL4UNalo2opQs9BUjIDXuqJfAy8BBMDk
PKygFKjBRsYC77xRDAwo52Jo1qugEd7Bnf4/8Cjd/UNrG46A5wwA3JM/MMrjD2ya
PuYlCc7njnEAbOKPyvqu9oNV9+DImyjD2pkp+XpiZM8Yze6jmQx81a5J1L3/Ke5h
G1ft1kHB1+aq0qV/pxXL2X4BVPbH3uJRp0C2Jha9Zf+fPBvQt28p6IY0wJOCqRHU
CebfkZvMsQa5A11eaO2vdFvg4ESerCIEI3R4LMPBuJXELh0fKgYgIY6oZmr0jiKT
s7dMrwKgrQyd4fPVMFQG
=yAYn
-----END PGP SIGNATURE-----
On 11/01/2014 01:36 PM, Neto wrote:
> Hi, im using template tag 'cycle' (in Django version 1.7.1,) and is
> showing it in my terminal:
>
> 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.
>
>
> In template:
>
> <div class='{% cycle 'a1' 'a2' %}'></div>
>
> Am I doing something wrong?
Not "wrong", exactly, but you should add a `{% load cycle from future
%}` at the top of this template to make the behavior more
future-compatible. See the note at the end of the documentation for the
cycle tag:
https://docs.djangoproject.com/en/1.7/ref/templates/builtins/#cycle
Carl
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment