<s> from __future__ import unicode_literals <EOL> from django . db import connection , migrations , models <EOL> import logging <EOL> logger = logging . getLogger ( __name__ ) <EOL> def delete_timeentries_marked_for_delete ( apps , schema_editor ) : <EOL> TimeEntry = apps . get_model ( '<STR_LIT>' , '<STR_LIT>' ) <EOL> TimeEntry . objects . filter ( is_deleted = True ) . delete ( ) <EOL> class Migration ( migrations . Migration ) : <EOL> dependencies = [ <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ] <EOL> operations = [ <EOL> migrations . RunPython ( delete_timeentries_marked_for_delete ) , <EOL> ] </s>
