mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #24451 -- Removed comma-separated {% cycle %} syntax per deprecation timeline.
This commit is contained in:
parent
04ee4059d7
commit
27b2321793
3 changed files with 1 additions and 54 deletions
|
@ -185,18 +185,6 @@ call to ``{% cycle %}`` doesn't specify ``silent``::
|
|||
{% cycle 'row1' 'row2' as rowcolors silent %}
|
||||
{% cycle rowcolors %}
|
||||
|
||||
.. deprecated:: 1.9
|
||||
|
||||
The ``{% cycle %}`` tag supports the much inferior old syntax from previous
|
||||
Django versions. You shouldn't use this in any new projects, but for the
|
||||
sake of the people who are still using it, here's what it looks like::
|
||||
|
||||
{% cycle row1,row2,row3 %}
|
||||
|
||||
In this syntax, each value gets interpreted as a literal string, and there's
|
||||
no way to specify variable values, literal commas, or spaces. Support for
|
||||
this syntax will be removed in Django 1.10.
|
||||
|
||||
.. templatetag:: debug
|
||||
|
||||
debug
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue