Skip to content

Commit

Permalink
Fixed a markup problem in the docstring for the "if" tag. This was sh…
Browse files Browse the repository at this point in the history
…owing up

in the admin docs.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Oct 20, 2007
1 parent c4cdb21 commit 3e3a7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/template/defaulttags.py
Expand Up @@ -675,7 +675,7 @@ def do_if(parser, token):
{% if athlete_list and coach_list or cheerleader_list %} {% if athlete_list and coach_list or cheerleader_list %}
If you need to combine ``and`` and ``or`` to do advanced logic, just use 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 athlete_list %}
{% if coach_list or cheerleader_list %} {% if coach_list or cheerleader_list %}
Expand Down

0 comments on commit 3e3a7e0

Please sign in to comment.