Code

Opened 7 years ago

Closed 7 years ago

#5773 closed (fixed)

Typo in templatetag docs results in error after using docutils

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

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 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by durdinator

comment:1 Changed 7 years ago by durdinator

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [6539]

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.