Permalink
Browse files

Merge branch 'master' of github.com:centralniak/cmsplugin_gallery

  • Loading branch information...
2 parents 4e0e8bd + fc6d8c1 commit ea440d9130caed2c32507a78a95a9f925de88837 centralniak committed Feb 4, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 cmsplugin_gallery/models.py
@@ -14,6 +14,9 @@
class GalleryPlugin(CMSPlugin):
+ def copy_relations(self, oldinstance):
+ self.image_set = oldinstance.image_set.all()
+
template = models.CharField(max_length=255,
choices=TEMPLATE_CHOICES,
default='cmsplugin_gallery/gallery.html',

0 comments on commit ea440d9

Please sign in to comment.