Commit 6a6cb795 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Improved string representation of the Container objects.

parent a28fcc41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ class Container(models.Model):


    def __str__(self):
        return str('Container of type "{}" with image "{}" and  ports "{}" from registry "{}" of user "{}"'.format(self.type, self.image, self.ports, self.registry, self.user))
        return str('Container "{}" of type "{}" with image "{}" and  ports "{}" from registry "{}" of user "{}"'.format(self.name, self.type, self.image, self.ports, self.registry, self.user))


    @property