X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/51d914bc0007135058a61623a2d057d2a7626a28..359e0f406798548adbf6f0768c3e5c4cd20cbe7b:/apps/explorer/models.py?ds=inline diff --git a/apps/explorer/models.py b/apps/explorer/models.py index 5181e167..7ab6b095 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