mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
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:
parent
1dfa567a23
commit
89277c7f6e
@ -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::
|
||||
|
||||
register.simple_tags(lambda x: x - 1, name='minusone')
|
||||
register.simple_tag(lambda x: x - 1, name='minusone')
|
||||
|
||||
@register.simple_tag(name='minustwo')
|
||||
def some_function(value):
|
||||
|
Loading…
Reference in New Issue
Block a user