#NEWLINE# def clean_file_size( self ) : #NEWLINE# #INDENT# if ( 'file' not in self . cleaned_data ) : #NEWLINE# #INDENT# raise ValidationError ( '' ) #NEWLINE# #UNINDENT# _file = _file . cleaned_data [ 'file' ] #NEWLINE# if isinstance ( _file , UploadedFile ) : #NEWLINE# #INDENT# return _file . size #NEWLINE# #UNINDENT# return self . initial [ 'file_size' ]