Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove self.related_resources

  • Loading branch information...
commit 61ed31a92a3fc061975078e30011edfa89419571 1 parent 1e74fa4
@MacMaru MacMaru authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  tastymongo/fields.py
View
2  tastymongo/fields.py
@@ -637,9 +637,7 @@ def dehydrate(self, bundle):
for related_obj in related_objs:
related_resource = self.get_related_resource( related_obj )
related_bundle = Bundle( obj=related_obj, request=bundle.request )
- self.related_resources.append( related_resource )
dehydrated_bundles.append(self.dehydrate_related( related_bundle, related_resource ))
return dehydrated_bundles
-
Please sign in to comment.
Something went wrong with that request. Please try again.