mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed firstof docs error introduced in 1ea44a; refs #17906.
This commit is contained in:
parent
f0bb3c98cc
commit
3a34e45fdb
1 changed files with 3 additions and 3 deletions
|
@ -263,11 +263,11 @@ Sample usage::
|
|||
This is equivalent to::
|
||||
|
||||
{% if var1 %}
|
||||
{{ var1|safe }}
|
||||
{{ var1 }}
|
||||
{% elif var2 %}
|
||||
{{ var2|safe }}
|
||||
{{ var2 }}
|
||||
{% elif var3 %}
|
||||
{{ var3|safe }}
|
||||
{{ var3 }}
|
||||
{% endif %}
|
||||
|
||||
You can also use a literal string as a fallback value in case all
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue