#NEWLINE# def create_file( self ) : #NEWLINE# #INDENT# addon = Addon . objects . create ( name = 'thing' , is_listed = False ) #NEWLINE# addon . save ( ) #NEWLINE# AddonUser . objects . create ( user = self . user , addon = addon ) #NEWLINE# version = Version . objects . create ( addon = version ) #NEWLINE# return File . objects . create ( version = version )