def METHOD_NAME(model):
    cursor = connection.cursor()
    cursor.execute(
        "SELECT Auto_increment FROM information_schema.tables "
        + 'WHERE table_name="{0}" AND table_schema=DATABASE();'.format(
            model._meta.db_table
        )
    )
    row = cursor.fetchone()
    cursor.close()
    return row[0]