  ljust = stringfilter(ljust)
  
  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)
 
</s> remove     Argument: field size
 </s> add     Argument: field size. </s> remove     Argument: field size
 </s> add     Argument: field size. </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     "Centers the value in a field of a given width"
 </s> add     """Centers the value in a field of a given width.""" </s> remove     Format the value like a 'human-readable' file size (i.e. 13 KB, 4.1 MB, 102
    bytes, etc).
 </s> add     Formats the value like a 'human-readable' file size (i.e. 13 KB, 4.1 MB,
    102 bytes, etc).
    Right-aligns the value in a field of a given width.
  ljust = stringfilter(ljust)
  
  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)
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