You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
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?
Carl Meyer
unread,
Nov 2, 2014, 12:05:42 AM11/2/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
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