Permalink
Browse files

Fixed a markup problem in the docstring for the "if" tag. This was sh…

…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...
1 parent c4cdb21 commit 3e3a7e02583bb2087bfff1b358a7a0bf40b55220 @malcolmt malcolmt committed Oct 20, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 %}

0 comments on commit 3e3a7e0

Please sign in to comment.