From 0a3910a717644b4c45f41212ff2e0cfb6a63cfac Mon Sep 17 00:00:00 2001
From: Tony Mack <tmack@tux.cs.princeton.edu>
Date: Fri, 26 Dec 2014 12:15:42 -0500
Subject: [PATCH] added version to Controller string representation

---
 planetstack/core/models/site.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/planetstack/core/models/site.py b/planetstack/core/models/site.py
index 47f7baa..c7516d8 100644
--- a/planetstack/core/models/site.py
+++ b/planetstack/core/models/site.py
@@ -306,7 +306,7 @@ class Controller(PlCoreBase):
     admin_password = models.CharField(max_length=200, null=True, blank=True, help_text="Password of theadmin user at this controller")
     admin_tenant = models.CharField(max_length=200, null=True, blank=True, help_text="Name of the tenant the admin user belongs to")
 
-    def __unicode__(self):  return u'%s %s' % (self.name, self.backend_type)
+    def __unicode__(self):  return u'%s %s %s' % (self.name, self.backend_type, self.version)
 
 class SiteDeployments(PlCoreBase):
     objects = ControllerLinkManager()
-- 
2.47.0