X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/927a991b71d9876995dd2beadee8d9ff16175a50..5ffbe263839acf003494225f41a3f3c95af797b7:/apps/explorer/models.py?ds=sidebyside diff --git a/apps/explorer/models.py b/apps/explorer/models.py index 5181e167..a8a8c3b2 100644 --- a/apps/explorer/models.py +++ b/apps/explorer/models.py @@ -100,3 +100,6 @@ class GalleryForDocument(models.Model): # document associated with the gallery document = models.CharField(max_length=255) + + def __unicode__(self): + return u"%s:%s" % self.subpath, self.document \ No newline at end of file