Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed small typos in custom template tags docs.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 1d7c2dedcd92e5234b8093acefed084d4e0756d7 1 parent 12a9107
Ramiro Morales ramiro authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/howto/custom-template-tags.txt
6 docs/howto/custom-template-tags.txt
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.