Skip to content
Browse files

The node does not have an "all" method.

Just copy the node instead.
  • Loading branch information...
1 parent 6e211a0 commit 7e7a5268d055a24cbc15839228c7814402524381 @erlenddalen committed Jun 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 media_tree/contrib/cms_plugins/media_tree_image/models.py
View
2 media_tree/contrib/cms_plugins/media_tree_image/models.py
@@ -26,7 +26,7 @@ class MediaTreeImage(CMSPlugin):
objects = MediaTreeImageSiteManager()
def copy_relations(self, oldinstance):
- self.node = oldinstance.node.all()
+ self.node = oldinstance.node
def __unicode__(self):
return self.node.__unicode__()

0 comments on commit 7e7a526

Please sign in to comment.
Something went wrong with that request. Please try again.