mirror of https://github.com/django/django.git
Fixed another typo in templates docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7cbbada662
commit
93c8e94bd6
|
@ -827,7 +827,7 @@ Template filter code falls into one of two situations:
|
||||||
the ``needs_autoescape`` attribute to ``True`` on your function. (If you
|
the ``needs_autoescape`` attribute to ``True`` on your function. (If you
|
||||||
don't specify this attribute, it defaults to ``False``). This attribute
|
don't specify this attribute, it defaults to ``False``). This attribute
|
||||||
tells Django that your filter function wants to be passed an extra
|
tells Django that your filter function wants to be passed an extra
|
||||||
keyword argument, called ``autoescape``, that is ``True`` is
|
keyword argument, called ``autoescape``, that is ``True`` if
|
||||||
auto-escaping is in effect and ``False`` otherwise.
|
auto-escaping is in effect and ``False`` otherwise.
|
||||||
|
|
||||||
For example, let's write a filter that emphasizes the first character of
|
For example, let's write a filter that emphasizes the first character of
|
||||||
|
|
Loading…
Reference in New Issue