mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00: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:
		| @@ -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``. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user