  
  #@register.tag
  def templatetag(parser, token):
      """
      Output one of the bits used to compose template tags.
  
      Since the template system has no concept of "escaping", to display one of
      the bits used in template tags, you must use the ``{% templatetag %}`` tag.
  
      The argument tells which template bit to output:
 
</s> remove     For example, to load the template tags in ``django/templatetags/news/photos.py``::
 </s> add     For example, to load the template tags in
    ``django/templatetags/news/photos.py``:: </s> remove     Load a custom template tag set.
 </s> add     Loads a custom template tag set. </s> remove "Default tags used by the template system, available to all templates."
 </s> add """Default tags used by the template system, available to all templates.""" </s> remove     # Note: This returns the exact same node on each {% cycle name %} call; that
    # is, the node object returned from {% cycle a b c as name %} and the one
    # returned from {% cycle name %} are the exact same object.  This shouldn't
    # cause problems (heh), but if it does, now you know.
 </s> add     # Note: This returns the exact same node on each {% cycle name %} call;
    # that is, the node object returned from {% cycle a b c as name %} and the
    # one returned from {% cycle name %} are the exact same object.  This
    # shouldn't cause problems (heh), but if it does, now you know.
    Outputs one of the bits used to compose template tags.
  
  #@register.tag
  def templatetag(parser, token):
      """
    Outputs one of the bits used to compose template tags.
  
      Since the template system has no concept of "escaping", to display one of
      the bits used in template tags, you must use the ``{% templatetag %}`` tag.
  
      The argument tells which template bit to output:
keep keep keep keep replace keep keep keep keep keep
 Style and import fixes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6641 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/template/defaulttags.py