Commit d25669e6 authored by Miroslav Shubernetskiy's avatar Miroslav Shubernetskiy

Merge branch 'ashish' into modelcache

* ashish:
  Save
parents f0cbfe14 b58a5afa
......@@ -43,6 +43,7 @@ class APIModelBuilder(object):
self.base_viewsets,
{
'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