def forwards(self, orm):
for qde_xtf in orm['<STR_LIT>'].objects.all().order_by('<STR_LIT:id>'):<EOL><INDENT>qde = orm.QualifiedDublinCoreElement()<EOL>qde.content = qde_xtf.content<EOL>qde.term = qde_xtf.term<EOL>qde.qualifier = qde_xtf.qualifier<EOL>c= orm['<STR_LIT>'].objects.get(pk=qde_xtf.content_type.pk)<EOL>qde.content_type = c<EOL>qde.object_id = qde_xtf.object_id<EOL>qde.save()<EOL><DEDENT>for qdeh_xtf in  orm['<STR_LIT>'].objects.all().order_by('<STR_LIT:id>'):<EOL><INDENT>qdeh = orm.QualifiedDublinCoreElementHistory()<EOL>qdeh.content = qdeh_xtf.content<EOL>qdeh.term = qdeh_xtf.term<EOL>qdeh.qualifier = qdeh_xtf.qualifier<EOL>c= orm['<STR_LIT>'].objects.get(pk=qdeh_xtf.content_type.pk)<EOL>qdeh.content_type = c<EOL>qdeh.object_id = qdeh_xtf.object_id<EOL>qdeh.qdce = orm['<STR_LIT>'].objects.get(pk=qdeh_xtf.qdce.pk)<EOL>qdeh.qdce_id_stored = qdeh_xtf.qdce_id_stored<EOL>qdeh.save()<EOL><DEDENT>
Write your forwards methods here.