<s> from __future__ import unicode_literals <EOL> from django . db import models , migrations <EOL> def convert_defaults ( apps , schema_editor ) : <EOL> ChannelDB = apps . get_model ( "<STR_LIT>" , "<STR_LIT>" ) <EOL> for channel in ChannelDB . objects . filter ( db_typeclass_path = "<STR_LIT>" ) : <EOL> channel . db_typeclass_path = "<STR_LIT>" <EOL> channel . save ( ) <EOL> class Migration ( migrations . Migration ) : <EOL> dependencies = [ <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ] <EOL> operations = [ <EOL> migrations . RunPython ( convert_defaults ) , <EOL> ] </s>
