          return arg
      return value
  
  def divisibleby(value, arg):
      "Returns true if the value is devisible by the argument"
      return int(value) % int(arg) == 0
  
  def yesno(value, arg=None):
      """
      Given a string mapping values for true, false and (optionally) None,
 
</s> remove     "If value is None, use given default"
 </s> add     """If value is None, use given default.""" </s> remove     "Returns the length of the value - useful for lists"
 </s> add     """Returns the length of the value - useful for lists.""" </s> remove     "Returns a boolean of whether the value's length is the argument"
 </s> add     """Returns a boolean of whether the value's length is the argument.""" </s> remove     "Adds the arg to the value"
 </s> add     """Adds the arg to the value.""" </s> remove     "Returns a random item from the list"
 </s> add     """Returns a random item from the list."""
    """Returns True if the value is devisible by the argument."""
          return arg
      return value
  
  def divisibleby(value, arg):
    """Returns True if the value is devisible by the argument."""
      return int(value) % int(arg) == 0
  
  def yesno(value, arg=None):
      """
      Given a string mapping values for true, false and (optionally) None,
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/defaultfilters.py