  As with filter registration, it is also possible to use this as a decorator::
  
      @register.tag(name="current_time")
      def do_current_time(parser, token):
          # ...
  
      @register.tag
      def shout(parser, token):
          # ...
  
 
</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         # ...
 </s> add         ... </s> remove object::
 </s> add object:

.. 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 pass the resulting ``nodelist`` to the ``Node``::
 </s> add pass the resulting ``nodelist`` to the ``Node``:

.. code-block:: python
        ...
  As with filter registration, it is also possible to use this as a decorator::
  
      @register.tag(name="current_time")
      def do_current_time(parser, token):
        ...
  
      @register.tag
      def shout(parser, token):
          # ...
  
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