def forwards(self, orm):
<EOL>LEN_TYPE = {<EOL><NUM_LIT:7>: '<STR_LIT>',<EOL><NUM_LIT:4>: '<STR_LIT>',<EOL><NUM_LIT:2>: '<STR_LIT>',<EOL>}<EOL>for ja in orm.JednostkaAdministracyjna.objects.all():<EOL><INDENT>ja.typ = LEN_TYPE[len(ja.id)]<EOL>ja.save()<EOL><DEDENT>
Write your forwards methods here.