diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index 151985bfdd4..4faa334af36 100644 --- a/django/template/defaulttags.py +++ b/django/template/defaulttags.py @@ -675,7 +675,7 @@ def do_if(parser, token): {% if athlete_list and coach_list or cheerleader_list %} If you need to combine ``and`` and ``or`` to do advanced logic, just use - nested if tags. For example: + nested if tags. For example:: {% if athlete_list %} {% if coach_list or cheerleader_list %}