#18933: docstring for cycle templatetag method differs from documentation
--------------------------------------+-------------------------------
     Reporter:  martey                |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  Documentation         |    Version:  1.4
     Severity:  Normal                |   Keywords:  cycle templatetag
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+-------------------------------
 A code example in the docstring in the cycle method in
 django.template.defaulttags for the silent option of the cycle templatetag
 differs from the example in the actual documentation.

 
[https://github.com/django/django/blob/759ae3c2dafe149485a15d9a3bc97527c1ac1163/django/template/defaulttags.py#L536
 Line 536 of defaulttags.py] contains "{% cycle rowcolors %}" when it
 should be "{{ rowcolors }}". The documentation was changed in
 
[https://github.com/django/django/commit/c260c533e1f1553548fc98f24820805af87f72bf
 a commit fixing ticket #15570].

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18933>
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 https://groups.google.com/groups/opt_out.


Reply via email to