The docs on pagination subclass the PageNumberPagination, but they dont mention where to import it from:
https://www.django-rest-framework.org/api-guide/pagination/ I would expect it to be in the docs, wouldn't you? Cheers! -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/django-rest-framework/da4ba701-29a0-4146-a4bd-a33a2e854332n%40googlegroups.com.