Simplified PlaceImage __str__ repr.

This commit is contained in:
Marcus Scholz 2020-09-18 20:37:54 +02:00
parent 715e953182
commit c66baaa765

View File

@ -176,7 +176,7 @@ class PlaceImage (Submittable):
of this image as textual represntation of this instance
"""
return ' '.join([self.place.name, str(self.pk)])
return 'Image ' + str(self.pk)
# These two auto-delete files from filesystem when they are unneeded: