#NEWLINE# @ property #NEWLINE# def full_filepath( self ) : #NEWLINE# #INDENT# if self . filepath : #NEWLINE# #INDENT# default_storage = get_storage_class ( ) ( ) #NEWLINE# try : #NEWLINE# #INDENT# return default_storage . path ( tmp . filepath ) #NEWLINE# #UNINDENT# except NotImplementedError : #NEWLINE# #INDENT# ( name , ext ) = os . path . splitext ( self . filepath ) #NEWLINE# tmp = NamedTemporaryFile ( suffix = ext , delete = False ) #NEWLINE# f = default_storage . open ( self . filepath ) #NEWLINE# tmp . write ( f . read ( ) ) #NEWLINE# tmp . close ( ) #NEWLINE# return tmp . name #NEWLINE# #UNINDENT# #UNINDENT# return None