summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-04-30 02:48:56 +0000
committerRamiro Morales <cramm0@gmail.com>2011-04-30 02:48:56 +0000
commit0e9e0f0b21b667ec3d2889f7912d6a49dab102ea (patch)
tree9885ba0b30ce926374cd50e71779b4f3a354d621 /docs
parent5aeeafba26e413eb36bca5a73240ce45ae4ca46f (diff)
[1.3.X] Fixed small typos in custom template tags docs.
Backport of [16126] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/custom-template-tags.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/howto/custom-template-tags.txt b/docs/howto/custom-template-tags.txt
index 7dc6ccef4f..362d3580bf 100644
--- a/docs/howto/custom-template-tags.txt
+++ b/docs/howto/custom-template-tags.txt
@@ -627,13 +627,13 @@ resolve the string passed to it in the current context of the page.
Shortcut for simple tags
~~~~~~~~~~~~~~~~~~~~~~~~
-Many template tags take a number of arguments -- strings or a template variables
+Many template tags take a number of arguments -- strings or template variables
-- and return a string after doing some processing based solely on
-the input argument and some external information. For example, the
+the input arguments and some external information. For example, the
``current_time`` tag we wrote above is of this variety: we give it a format
string, it returns the time as a string.
-To ease the creation of the types of tags, Django provides a helper function,
+To ease the creation of these types of tags, Django provides a helper function,
``simple_tag``. This function, which is a method of
``django.template.Library``, takes a function that accepts any number of
arguments, wraps it in a ``render`` function and the other necessary bits