  def rjust(value, arg):
      """
      Right-aligns the value in a field of a given width
  
      Argument: field size
      """
      return value.rjust(int(arg))
  rjust = stringfilter(rjust)
  
  def center(value, arg):
 
</s> remove     Right-aligns the value in a field of a given width
 </s> add     Right-aligns the value in a field of a given width. </s> remove     Argument: field size
 </s> add     Argument: field size. </s> remove     "Centers the value in a field of a given width"
 </s> add     """Centers the value in a field of a given width.""" </s> remove     Left-aligns the value in a field of a given width
 </s> add     Left-aligns the value in a field of a given width. </s> remove     "If value is None, use given default"
 </s> add     """If value is None, use given default."""
    Argument: field size.
  def rjust(value, arg):
      """
      Right-aligns the value in a field of a given width
  
    Argument: field size.
      """
      return value.rjust(int(arg))
  rjust = stringfilter(rjust)
  
  def center(value, arg):
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