Skip to content

Commit ed6939f

Browse files
frnhrsobolevn
authored andcommitted
allow lists fo strings for ordering attribute (#53)
1 parent 418826b commit ed6939f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework-stubs/pagination.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class CursorPagination(BasePagination):
8787
cursor_query_description: str = ...
8888
page_size: int = ...
8989
invalid_cursor_message: str = ...
90-
ordering: str = ...
90+
ordering: Union[str, List[str], Tuple[str, ...]] = ...
9191
template: str = ...
9292
page_size_query_param: Optional[str] = ...
9393
page_size_query_description: str = ...

0 commit comments

Comments
 (0)