Skip to content
Snippets Groups Projects
Commit 6a6cb795 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Improved string representation of the Container objects.

parent a28fcc41
No related branches found
No related tags found
No related merge requests found
...@@ -94,7 +94,7 @@ class Container(models.Model): ...@@ -94,7 +94,7 @@ class Container(models.Model):
def __str__(self): 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 @property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment