Fixed #462 -- Fixed typo in docs/templates_python.txt. Thanks, eugene@lazutkin.com and sanxiyn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4ea3dd5dbd
commit
1087ee3d5e
|
@ -30,7 +30,7 @@ Example template with block tags::
|
||||||
|
|
||||||
A **variable** is a symbol within a template that outputs a value.
|
A **variable** is a symbol within a template that outputs a value.
|
||||||
|
|
||||||
Block tags are surrounded by ``"{{"`` and ``"}}"``.
|
Variable tags are surrounded by ``"{{"`` and ``"}}"``.
|
||||||
|
|
||||||
Example template with variables::
|
Example template with variables::
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ Method lookups are slightly more complex than the other lookup types. Here are
|
||||||
some things to keep in mind:
|
some things to keep in mind:
|
||||||
|
|
||||||
* If, during the method lookup, a method raises an exception, the exception
|
* If, during the method lookup, a method raises an exception, the exception
|
||||||
will be propgated, unless the exception subclasses
|
will be propagated, unless the exception subclasses
|
||||||
``django.core.template.SilentVariableFailure``. If the exception
|
``django.core.template.SilentVariableFailure``. If the exception
|
||||||
subclasses ``SilentVariableFailure``, the variable will render as an
|
subclasses ``SilentVariableFailure``, the variable will render as an
|
||||||
empty string. Example::
|
empty string. Example::
|
||||||
|
|
Loading…
Reference in New Issue