Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #11 from tunix/master

fixed non-working schema
  • Loading branch information...
commit 6af3d6fccbc955e5e09f4d7b4e9d6239fade2952 2 parents 43c2648 + 72098de
@fatiherikli authored
Showing with 4 additions and 1 deletion.
  1. +1 −1  setup.py
  2. +3 −0  tastypie_mongodb/resources.py
View
2  setup.py
@@ -13,7 +13,7 @@ def read(fname):
setup(
name="tastypie-mongodb-resource",
- version="0.0.5",
+ version="0.0.6",
author="Fatih Erikli",
author_email="fatiherikli@gmail.com",
description=("Tastypie MongoDB Resource"),
View
3  tastypie_mongodb/resources.py
@@ -20,6 +20,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.
Please sign in to comment.
Something went wrong with that request. Please try again.