@login_required
@user_passes_test(
    lambda u: u.has_perm("admin.add_user") or
    u.has_perm("admin.add_alias") or
    u.has_perm("admin.add_mailbox")
)
def get_next_page(request):
    if request.GET.get("objtype", "identity") == "identity":
        return _identities(request)
    return list_quotas(request)
Return the next page of the identity list.
dataset/ETHPy150Open tonioo/modoboa/modoboa/admin/views/identity.py/get_next_page