<s> from __future__ import unicode_literals <EOL> from functools import partial <EOL> from django . db import models , migrations <EOL> def drop_deleted_object ( model , apps , schema_editor ) : <EOL> m = apps . get_model ( '<STR_LIT>' , model ) <EOL> m . objects . filter ( deleted = True ) . delete ( ) <EOL> class Migration ( migrations . Migration ) : <EOL> dependencies = [ <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ] <EOL> operations = [ <EOL> migrations . RunPython ( partial ( drop_deleted_object , '<STR_LIT>' ) ) , <EOL> migrations . RunPython ( partial ( drop_deleted_object , '<STR_LIT>' ) ) , <EOL> ] </s>
