  ifequal = register.tag(ifequal)
  
  #@register.tag
  def ifnotequal(parser, token):
      """Output the contents of the block if the two arguments are not equal. See ifequal."""
      return do_ifequal(parser, token, True)
  ifnotequal = register.tag(ifnotequal)
  
  #@register.tag(name="if")
  def do_if(parser, token):
 
</s> remove     Output the contents of the block if the two arguments equal each other.
 </s> add     Outputs the contents of the block if the two arguments equal each other. </s> remove     of the block are output:

    ::
 </s> add     of the block are output:: </s> remove     Check if a value has changed from the last iteration of a loop.
 </s> add     Checks if a value has changed from the last iteration of a loop. </s> remove     Filter the contents of the blog through variable filters.
 </s> add     Filters the contents of the blog through variable filters. </s> remove     Output the contents of a given file into the page.
 </s> add     Outputs the contents of a given file into the page.
    """
    Outputs the contents of the block if the two arguments are not equal.
    See ifequal.
    """
  ifequal = register.tag(ifequal)
  
  #@register.tag
  def ifnotequal(parser, token):
    """
    Outputs the contents of the block if the two arguments are not equal.
    See ifequal.
    """
      return do_ifequal(parser, token, True)
  ifnotequal = register.tag(ifnotequal)
  
  #@register.tag(name="if")
  def do_if(parser, token):
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