#NEWLINE# @ shared_task ( name = 'process-image' ) #NEWLINE# def process_image( image_id ) : #NEWLINE# #INDENT# '\n    Run any tasks necessary to process a new/updated image\n    ' #NEWLINE# Image = import_image ( ) #NEWLINE# image = Image . objects . get ( pk = image_id ) #NEWLINE# image . create_display_size ( ) #NEWLINE# image . create_thumbnail ( ) #NEWLINE# image . process_exif_data ( )