🔥(teams) remove pagination of teams listing
For frontend pagination is useless for teams, so we remove it.
This commit is contained in:
committed by
Nathan Panchout
parent
a42e7a10db
commit
7d695ab81c
@@ -246,6 +246,7 @@ class TeamViewSet(
|
||||
ordering_fields = ["created_at"]
|
||||
ordering = ["-created_at"]
|
||||
queryset = models.Team.objects.all()
|
||||
pagination_class = None
|
||||
|
||||
def get_queryset(self):
|
||||
"""Custom queryset to get user related teams."""
|
||||
|
||||
Reference in New Issue
Block a user