#13567: cycle tag with 'as' shouldn't return a value
---------------------------------------------+------------------------------
Reporter: anentropic | Owner: nobody
Status: new | Milestone:
Component: Template system | Version: SVN
Resolution: | Keywords:
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by russellm):
* needs_better_patch: => 0
* stage: Unreviewed => Design decision needed
* needs_tests: => 0
* needs_docs: => 0
Comment:
The issue here is backwards compatibility - while I agree with your
analysis that when the 'as' tag is used, it shouldn't also output, the
fact remains that the tag currently does output, and any existing use will
be relying on this fact (or at least using it as currently implemented).
I suspect that this may need to be a Django 2.0 backwards incompatible
change.
--
Ticket URL: <http://code.djangoproject.com/ticket/13567#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.