Kaydet (Commit) 7cbbada6 authored tarafından Gary Wilson Jr's avatar Gary Wilson Jr

Fixed typo in templates docs.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 298d76ae
...@@ -823,8 +823,8 @@ Template filter code falls into one of two situations: ...@@ -823,8 +823,8 @@ Template filter code falls into one of two situations:
can operate in templates where auto-escaping is either on or off in can operate in templates where auto-escaping is either on or off in
order to make things easier for your template authors. order to make things easier for your template authors.
In order for you filter to know the current auto-escaping state, set the In order for your filter to know the current auto-escaping state, set
``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`` is
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment