mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-16 19:41:06 +03:00
Remove dot character from "pagination_class" (#6137)
This commit is contained in:
parent
9ecce21044
commit
d0995fac70
|
@ -46,7 +46,7 @@ If you want to modify particular aspects of the pagination style, you'll want to
|
||||||
page_size_query_param = 'page_size'
|
page_size_query_param = 'page_size'
|
||||||
max_page_size = 1000
|
max_page_size = 1000
|
||||||
|
|
||||||
You can then apply your new style to a view using the `.pagination_class` attribute:
|
You can then apply your new style to a view using the `pagination_class` attribute:
|
||||||
|
|
||||||
class BillingRecordsView(generics.ListAPIView):
|
class BillingRecordsView(generics.ListAPIView):
|
||||||
queryset = Billing.objects.all()
|
queryset = Billing.objects.all()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user