Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #16067 - Couple reST fixes in ref/templates/builtins.txt; thank…

…s julien.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 6443adc9a904b0e2b3ac79104defd27202ff2032 1 parent 909e002
@timgraham timgraham authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/ref/templates/builtins.txt
View
4 docs/ref/templates/builtins.txt
@@ -533,6 +533,8 @@ operators, from lowest to highest, is as follows:
(This follows Python exactly). So, for example, the following complex if tag:
+.. code-block:: django
+
{% if a == b or c == d and e %}
...will be interpreted as:
@@ -1483,7 +1485,7 @@ If ``value`` is the list ``['a', 'b', 'c']``, the output will be ``'a'``.
fix_ampersands
~~~~~~~~~~~~~~
-..note::
+.. note::
This is rarely useful as ampersands are automatically escaped. See escape_ for more information.
Please sign in to comment.
Something went wrong with that request. Please try again.