mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Fixed small typo in [628]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
cadb6a008d
commit
4ea3dd5dbd
@ -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``.
|
||||
|
Loading…
Reference in New Issue
Block a user