def get_db_change_languages(self, field_name, db_table_fields):
for lang_code, lang_name in get_languages():<EOL><INDENT>if get_real_fieldname(field_name, lang_code) not in db_table_fields:<EOL><INDENT>yield lang_code<EOL><DEDENT><DEDENT>for db_table_field in db_table_fields:<EOL><INDENT>pattern = re.compile('<STR_LIT>' % field_name)<EOL>m = pattern.match(db_table_field)<EOL>if not m:<EOL><INDENT>continue<EOL><DEDENT>lang = m.group('<STR_LIT>')<EOL>yield lang<EOL><DEDENT>
get only db changes fields