#208: Allow the strings the cycle tag uses to contain spaces.
-----------------------------+----------------------------------------------
Reporter: anonymous | Owner: adrian
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Template system | Version:
Severity: normal | Resolution:
Keywords: cycle |
-----------------------------+----------------------------------------------
Comment (by adrian):
Now that we have an intelligent string splitter in the template system,
I'd like to change {{{cycle}}} in a backwards-incompatible way, so that
you'd pass in strings, separated by spaces. Examples:
{{{ {% cycle 'value 1' 'value 2' %} }}}
{{{ {% cycle 'value 1' 'value 2' 'value 3' %} }}}
{{{ {% cycle 'value 1' 'value 2' as foo %} }}}
Variables would be allowed as the cycle values, too:
{{{ {% cycle some_var 'some value' %} }}}
--
Ticket URL: <http://code.djangoproject.com/ticket/208>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---