#NEWLINE# def start( self ) : #NEWLINE# #INDENT# from . tasks import csv_import #NEWLINE# self . log ( ( 'Queued import at %s' % timezone . now ( ) ) ) #NEWLINE# self . save ( update_fields = [ 'import_log' ] ) #NEWLINE# result = csv_import . delay ( result . pk ) #NEWLINE# self . task_id = result . task_id #NEWLINE# self . save ( update_fields = [ 'task_id' ] )