Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed small typo in [628]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4ea3dd5dbdcb49aa9c78140ab6730aa235d9e6f0 1 parent cadb6a0
@adrianholovaty adrianholovaty authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 docs/templates_python.txt
View
5 docs/templates_python.txt
@@ -676,7 +676,7 @@ After ``parser.parse()`` is called, the parser hasn't yet "consumed" the
``CommentNode.render()`` simply returns an empty string. Anything between
``{% comment %}`` and ``{% endcomment %}`` is ignored.
-Parsing unitl another block tag, and saving contents
+Parsing until another block tag, and saving contents
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the previous example, ``do_comment()`` discarded everything between
@@ -709,4 +709,5 @@ The only new concept here is the ``self.nodelist.render(context)`` in
``UpperNode.render()``.
For more examples of complex rendering, see the source code for ``{% if %}``,
-``{% for %}``, ``{% ifequal %}`` and ``{% ifchanged %}``.
+``{% for %}``, ``{% ifequal %}`` and ``{% ifchanged %}``. They live in
+``django/core/defaulttags.py``.
Please sign in to comment.
Something went wrong with that request. Please try again.