I have an API call to the Django Api.
If a request api/v2/unit/?page_size=80
comes in it works as required. If i use api/v2/unit/?page_size=1000
then I get 414 Client Error
:
Request-URI Too Long
I presume the it fails because the requested page_size is bigger than the available page_size.
Can I dynamically change/overwrite the page_size
by counting the queryset
.