(from_table, to_table)
return RunPython(
        _rename_table_indexes(from_table, to_table)
    )
Returns a migration operation to rename table indexes to prevent index name
    collision when renaming models. This should be used in conjunction with a
    migrations.RenameModel operation, with this operation being placed right before
    it.

    NOTE: Django unapplies migration operations in LIFO order. In order to
    unapply this rename_table_indexes operation, we would have to unapply the
    rename_table_indexes and rename table operation in FIFO order. So for
    now, not allowing the reverse.
Returns a migration operation to rename table indexes to prevent index name
    collision when renaming models. This should be used in conjunction with a
    migrations.RenameModel operation, with this operation being placed right before
    it.
Returns a migration operation to rename table indexes to prevent index name collision when renaming models . This should be used in conjunction with a migrations . RenameModel operation with this operation being placed right before it .
def rename_table_indexes(from_table, to_table):
    """
    Returns a migration operation to rename table indexes to prevent index name
    collision when renaming models. This should be used in conjunction with a
    migrations.RenameModel operation, with this operation being placed right before
    it.

    NOTE: Django unapplies migration operations in LIFO order. In order to
    unapply this rename_table_indexes operation, we would have to unapply the
    rename_table_indexes and rename table operation in FIFO order. So for
    now, not allowing the reverse.
    """
    return RunPython(
        _rename_table_indexes(from_table, to_table)
    )
def rename_table_indexes ( from_table , to_table ) : return RunPython ( _rename_table_indexes ( from_table , to_table ) )