#NEWLINE# def set_feedbacks_size( apps , schema_editor ) : #NEWLINE# #INDENT# Feedback = apps . get_model ( 'feedback' , 'Feedback' ) #NEWLINE# feedbacks = Feedback . objects . iterator ( ) #NEWLINE# for feedback in feedbacks : #NEWLINE# #INDENT# feedback . screenshot_size = ( feedback . screenshot . size if feedback . screenshot else 0 ) #NEWLINE# feedback . attached_file_size = ( feedback . attached_file . size if feedback . attached_file else 0 ) #NEWLINE# feedback . blackbox_size = ( feedback . blackbox . size if feedback . blackbox else 0 ) #NEWLINE# feedback . system_logs_size = ( feedback . system_logs . size if feedback . system_logs else 0 ) #NEWLINE# feedback . save ( )