Permalink
Browse files

fixed non-working schema

  • Loading branch information...
1 parent 3c507ed commit 5c7a4fd88772d90b1197a0957d13db99c175d180 Alper Kanat committed Nov 11, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 tastypie_mongodb/resources.py
@@ -21,6 +21,9 @@ def get_collection(self):
"""
raise NotImplementedError("You should implement get_collection method.")
+ def get_object_list(self, request):
+ return self.obj_get_list(request)
+
def obj_get_list(self, request=None, **kwargs):
"""
Maps mongodb documents to Document class.

0 comments on commit 5c7a4fd

Please sign in to comment.