Fixed another typo in the docs.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2011-06-18 11:58:50 +00:00
parent 1dfa567a23
commit 89277c7f6e
1 changed files with 1 additions and 1 deletions

View File

@ -691,7 +691,7 @@ on :ref:`inclusion tags<howto-custom-template-tags-inclusion-tags>`.
If you need to rename your tag, you can provide a custom name for it:: If you need to rename your tag, you can provide a custom name for it::
register.simple_tags(lambda x: x - 1, name='minusone') register.simple_tag(lambda x: x - 1, name='minusone')
@register.simple_tag(name='minustwo') @register.simple_tag(name='minustwo')
def some_function(value): def some_function(value):