def _mysql_reset_sequences(style, connection):
 tables = connection.introspection.django_table_names(only_existing=True)
 flush_statements = connection.ops.sql_flush(style, tables, connection.introspection.sequence_list())
 return [s for s in flush_statements if s.startswith('ALTER')]

def _mysql_reset_sequences ( style , connection ) : tables = connection . introspection . django_table_names ( only_existing = True ) flush_statements = connection . ops . sql_flush ( style , tables , connection . introspection . sequence_list ( ) ) return [ s for s in flush_statements if s . startswith ( 'ALTER' ) ]
return a sql statements needed to reset django tables .