Commit 4c02d36d authored by Igor Ponomarev's avatar Igor Ponomarev Committed by Paweł Wieczorek
Browse files

rest: Use CursorPagination for `v0.3/jobs/`

Breaking changes to query parameters and JSON object
parent de951ee2
......@@ -69,6 +69,7 @@ from lava_scheduler_app.models import (
from rest_framework.pagination import CursorPagination
from . import serializers
......@@ -116,6 +117,8 @@ class TestJobViewSet(base_views.TestJobViewSet):
* `/jobs/<job_id>/csv/`
* `/jobs/<job_id>/yaml/`
pagination_class = CursorPagination
ordering = 'id'
def suites(self, request, **kwargs):
raise NotImplementedError()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment