      "Returns a boolean of whether the value's length is the argument"
      return len(value) == int(arg)
  
  def random(value):
      "Returns a random item from the list"
      return random_module.choice(value)
  
  def slice_(value, arg):
      """
      Returns a slice of the list.
 
</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     "Returns the length of the value - useful for lists"
 </s> add     """Returns the length of the value - useful for lists.""" </s> remove     "Returns true if the value is devisible by the argument"
 </s> add     """Returns True if the value is devisible by the argument.""" </s> remove     "Returns the first item in a list"
 </s> add     """Returns the first item in a list.""" </s> remove     "Returns the number of words"
 </s> add     """Returns the number of words."""
    """Returns a random item from the list."""
      "Returns a boolean of whether the value's length is the argument"
      return len(value) == int(arg)
  
  def random(value):
    """Returns a random item from the list."""
      return random_module.choice(value)
  
  def slice_(value, arg):
      """
      Returns a slice of the list.
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