Commit e6d94bba authored by Zenon Mousmoulas's avatar Zenon Mousmoulas
Browse files

Added get_display to InstServer ertype field in edumanage/models.py

parent 297f9f49
......@@ -248,7 +248,7 @@ class InstServer(models.Model):
#'inst': self.instid,
'servername': self.get_name(),
# the human-readable name would be nice here
'ertype': self.ertype,
'ertype': self.get_ertype_display(),
}
def get_name(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment