mirror of
https://github.com/django/django.git
synced 2024-12-01 07:31:48 +01:00
Fixed firstof docs error introduced in 1ea44a; refs #17906.
This commit is contained in:
parent
f0bb3c98cc
commit
3a34e45fdb
@ -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…
Reference in New Issue
Block a user