Opened 17 years ago

Closed 17 years ago

#5773 closed (fixed)

Typo in templatetag docs results in error after using docutils

Reported by: durdinator Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The error:

If you need to combine and and or to do advanced logic, just use nested if tags. For example:

{% if athlete_list %}
{% if coach_list or cheerleader_list %}
We have athletes, and either coaches or cheerleaders!
System Message: WARNING/2 (<tag:if>, line 50)
Definition list ends without a blank line; unexpected unindent.
{% endif %}

System Message: WARNING/2 (<tag:if>, line 51)
Definition list ends without a blank line; unexpected unindent.
{% endif %}

Attachments (1)

patch_5773.diff (528 bytes ) - added by durdinator 17 years ago.

Download all attachments as: .zip

Change History (2)

by durdinator, 17 years ago

Attachment: patch_5773.diff added

comment:1 by durdinator, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in [6539]

Note: See TracTickets for help on using tickets.
Back to Top