Skip to content

Commit

Permalink
Merge branch 'master' of github.com:centralniak/cmsplugin_gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
centralniak committed Feb 4, 2012
2 parents 4e0e8bd + fc6d8c1 commit ea440d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmsplugin_gallery/models.py
Expand Up @@ -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',
Expand Down

0 comments on commit ea440d9

Please sign in to comment.