diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-06-18 11:58:50 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-06-18 11:58:50 +0000 |
| commit | 89277c7f6e19c51bd8da91e5ed09845a1df17c9d (patch) | |
| tree | 94aeb41fd62192a84683b9e1c7518e87937ade60 /docs | |
| parent | 1dfa567a23a1b81eb90b29ff250337a679a40dfa (diff) | |
Fixed another typo in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/custom-template-tags.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/custom-template-tags.txt b/docs/howto/custom-template-tags.txt index 1e226840d6..421b1ecf73 100644 --- a/docs/howto/custom-template-tags.txt +++ b/docs/howto/custom-template-tags.txt @@ -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): |
