edited functions for naming Department and WidgetUser objects

parent c981e6da
......@@ -6,7 +6,7 @@ class Department(models.Model):
home_unit = models.CharField(max_length = 100)
def __str__(self):
return self.dept_name
return self.dept_name + ', ' + self.home_unit
......
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