mirror of https://github.com/django/django.git
Fixed a markup problem in the docstring for the "if" tag. This was showing up
in the admin docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c4cdb214a6
commit
3e3a7e0258
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue