          # ...
  
      @register.tag
      def shout(parser, token):
          # ...
  
  If you leave off the ``name`` argument, as in the second example above, Django
  will use the function's name as the tag name.
  
  Passing template variables to the tag
 
</s> remove         # ...
 </s> add         ... </s> remove As with filter registration, it is also possible to use this as a decorator::
 </s> add As with filter registration, it is also possible to use this as a decorator:

.. code-block:: python </s> remove ``autoescape`` that you can use for this purpose. For example::
 </s> add ``autoescape`` that you can use for this purpose. For example:

.. code-block:: python </s> remove back to the main page. Here's what the Python function would look like::
 </s> add back to the main page. Here's what the Python function would look like:

.. code-block:: python </s> remove tag is used inside a ``{% autoescape off %}`` block.
 </s> add tag is used inside a :ttag:`{% autoescape off %}<autoescape>` block.
        ...
          # ...
  
      @register.tag
      def shout(parser, token):
        ...
  
  If you leave off the ``name`` argument, as in the second example above, Django
  will use the function's name as the tag name.
  
  Passing template variables to the tag
keep keep keep keep replace keep keep keep keep keep
 Brushed up the custom template tag 'howto' guide by moving the assignment_tag doc to a more appropriate place (i.e. under the "Setting a variable in the context" section), adding cross references, fixing a few minor inaccuracies and doing a little PEP8 cleanup.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16909 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
docs/howto/custom-template-tags.txt