Skip to content
Browse files

Make pagination work with Simple Datagrid.

  • Loading branch information...
1 parent 2d3e8fb commit 2860057016739af209c6d8f383fd15e40809be75 @markotibold markotibold committed Nov 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 fiber/rest_api/views.py
View
1 fiber/rest_api/views.py
@@ -81,6 +81,7 @@ class FileList(FiberListCreateAPIView):
model = File
serializer_class = FileSerializer
renderer_classes = (renderers.JSONRenderer, )
+ pagination_serializer_class = FiberPaginationSerializer
paginate_by = 5

0 comments on commit 2860057

Please sign in to comment.
Something went wrong with that request. Please try again.