#5908: Cycle tag should reset after it steps out of scope(?)
-------------------------------------+-------------------------------------
Reporter: Simon | Owner: nobody
Litchfield <simon@…> | Status: new
Type: | Component: Template system
Cleanup/optimization | Severity: Normal
Milestone: | Keywords: cycle templatetag
Version: SVN | tag counter for loop reset
Resolution: | Has patch: 1
Triage Stage: Accepted | Needs tests: 0
Needs documentation: 0 | Easy pickings: 0
Patch needs improvement: 1 |
UI/UX: 0 |
-------------------------------------+-------------------------------------
Changes (by jamesp):
* ui_ux: => 0
Comment:
Updated the patch to the current trunk but I am wondering if {{{ {%
resetcycle %} }}} shouldn't reset the most recent cycle if a name isn't
provided.
This would be consistent with {{{ {% endblock %} }}} and may lead to
confusion if not implemented similarly.
--
Ticket URL: <https://code.djangoproject.com/ticket/5908#comment:20>
Django <https://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.