Commit b58a5afa authored by Ashish's avatar Ashish

Save

parent d33180d7
......@@ -31,6 +31,7 @@ class APIModelBuilder(object):
(AlchemyModelViewSet,),
{
'manager_class': manager,
'paginate_by': 10,
}
)
......
......@@ -79,7 +79,6 @@ class AlchemyModelViewSet(MultipleObjectMixin, ManagerMixin, viewsets.ViewSet):
* URI contains the same pk field
* Complete URI with server/port is returned back
'''
mgr = self.manager_factory(context={'request': request})
queryset = mgr.list(other_pks=self.get_other_pks(request),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment