def METHOD_NAME(pages):
    """Make sure order in pages Queryset starts at 1 and increments 1 at
    every page. Saves all pages
    """
    for idx, page in enumerate(pages):
        page.order = idx + 1
    DocPage.objects.bulk_update(pages, ["order"])