def _name_to_index(cursor, table_name):
    return dict([(d[0], i) for i, d in enumerate(get_table_description(cursor, table_name))])
Generates the series of links to the pages in a paginated list.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/db/backends/mysql_old/introspection.py/_name_to_index--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/admin/templatetags/admin_list.py/pagination